Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No "root" for artifacts with meta versions #17

Closed
sebastian8712 opened this issue Mar 19, 2013 · 2 comments
Closed

No "root" for artifacts with meta versions #17

sebastian8712 opened this issue Mar 19, 2013 · 2 comments
Assignees
Labels

Comments

@sebastian8712
Copy link

If you have an artifact with a meta version like 0.0.1-SNAPSHOT the artifact's version depends on the state of the artifact and will have the meta version expanded e.g. 0.0.1-20130314.094238-17.

Therefore "id.equals(resolvedId)" (P2Artifact.java, line 91) is false although the given artifact is root. During the further procedure this leads to the problem that the instructions are not set (BundleWrapper.java, line 223).

From my point of view "id.equals(resolvedId)" is not correct, there should be some kind of matching.

@tombujok
Copy link
Member

tombujok commented Apr 8, 2013

Could you upload the pom.xml that causes the problem so that I can reproduce it? Thanks.

tombujok added a commit that referenced this issue Jul 4, 2013
@tombujok
Copy link
Member

tombujok commented Jul 4, 2013

I fixed it and added an integration test which seems to prove that the fix is correct.
The newest 1.0.1-SNAPSHOT deployed to the http://repo.reficio.org contains the fix.
Could you retest it as well so that I can close the ticket? Thanks!

@ghost ghost assigned tombujok Jul 12, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants