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

Invalid version not parsed #247

Open
DavidGoodenough opened this issue Aug 2, 2021 · 4 comments
Open

Invalid version not parsed #247

DavidGoodenough opened this issue Aug 2, 2021 · 4 comments

Comments

@DavidGoodenough
Copy link

If you have JavaFx as a dependency you will get (amongst others):-

[info] org.openjfx:javafx-base : 16 -> InvalidVersion(18-ea+1) -> 15.0.1

So it would appear that sbt-updates can not cope with all the version number formats that are allowed by Maven and are in use within the Scala/Java community.

@rtimush
Copy link
Owner

rtimush commented Aug 2, 2021

The problem here was that 16 wasn't considered a valid version because it had too few components. This should be fixed in #244.
I just published 0.6.0, please check if it works for you.

@DavidGoodenough
Copy link
Author

I can confirm that with 0.6.0 it no longer says there is an InvalidVersion (if the problem was the 16, why did the message put the InvalidVersion around the 18-ea+1?), but it also no longer thinks that I could upgrade to 18-ea+1, it says they are all up to date.

@rtimush
Copy link
Owner

rtimush commented Aug 3, 2021

Good. The update is not shown because 16 is considered to be a release version and 18-ea+1 to be a pre-release one. sbt-updates doesn't offer such updates. I'm not sure what ea+1 means in this particular case, but if you update to such version once, the future "ea" versions should be offered as potential updates.

@DavidGoodenough
Copy link
Author

ea in this case is Early Access, its a sort of pre-release version.

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