update button of the target file editor in eclipse updates to RC releases for mvn depedencies #1584
Replies: 3 comments
-
Correct.
As far as I know, the only strict rule for version names in Maven is that the I assume mvnrepository uses some kind of heuristic to estimate if a version suffix is a 'non-final' artifact, but since there are no strict rules such heuristics are always prone to false positive or negatives. And since one can also use RC/M artifacts from M.-C. just like all other artifacts some event want to use them explicitly (of course one should be aware of what one is doing). |
Beta Was this translation helpful? Give feedback.
-
Maven has special handling for M / RC / A and alike what affects ordering, m2e simply performs an lookup for the latest version as it works in most cases well and is easy to implement. You can see this in code here. |
Beta Was this translation helpful? Give feedback.
-
i also tested a bit the mvn versions plugin, but you really need todo this:
to remove the "rc" or "alpha" stuff from it so i guess that is just pressing that button and then in the compare window go one by one over them to check the version if it makes sense is the only real way todo this. |
Beta Was this translation helpful? Give feedback.
-
I guess the implementation of the update button in the pde target file editor is done by m2e right?
Because if i push it i get a lot of updates to RC jars, which i don't want to have, i really want just final releases
and example is jackson annotations:
https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-annotations
if i press update now it will update to 2.16.0-RC1 but i want that it updates to 2.15.3 (i come from 2.15.2)
it seems that mvn knows its an RC (it has different colors) not sure if that is just in the version name or if it is something else.
Beta Was this translation helpful? Give feedback.
All reactions