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

Leaving capsule.version unspecified *currently* resolves to an unstable snapshot #18

Closed
chrisfjones opened this issue Feb 3, 2015 · 2 comments

Comments

@chrisfjones
Copy link

I came across the following issue when trying to build a new capsule project:
puniverse/capsule#55
This came up because my project (using capsule-maven-plugin v0.10.0) was resolving the latest capsule version (which happened to be 1.0-rc1-SNAPSHOT and contained the bug above).
Ideally, capsule-maven-plugin would ignore '*-SNAPSHOT' capsule versions when resolving the 'latest' capsule version.
I've been able to work around this issue by explicitly setting capsule.version:
<capsule.version>0.10.0</capsule.version>

@chrisdchristo
Copy link
Owner

Ah yeah you're right, thanks for reporting. Will issue a fix.

@chrisdchristo
Copy link
Owner

This is actually a bug in the way VersionRangeRequest (incorrectly) works - see here.

In any case, I've managed to write additional code to skip the SNAPSHOT version and find the latest non-snapshot version. Resolved in 0.10.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants