mojohaus / versions

Versions Maven Plugin
https://www.mojohaus.org/versions/versions-maven-plugin/
Apache License 2.0
328 stars 265 forks source link

display-plugin-updates shows downgrades #1033

Closed krzyk closed 6 months ago

krzyk commented 6 months ago

I tried running 2.16.2 versions plugin to show me plugin updates, what it showed is mostly downgrades like:

[INFO] Require Maven 2.2.1 to use the following plugin updates:
[INFO]   maven-clean-plugin ................................. 3.3.1 -> 2.6.1
[INFO]   maven-compiler-plugin ............................... 3.11.0 -> 3.3
[INFO]   maven-enforcer-plugin ........................... 3.3.0 -> 3.0.0-M3
[INFO]   maven-failsafe-plugin ............................. 3.1.2 -> 2.22.2
[INFO]   maven-jar-plugin ..................................... 3.3.0 -> 2.6
[INFO]   maven-resources-plugin ............................... 3.3.1 -> 2.7
[INFO]   maven-surefire-plugin ............................. 3.1.2 -> 2.22.2
[INFO]   org.codehaus.mojo:build-helper-maven-plugin ......... 3.0.0 -> 1.12
[INFO]   org.codehaus.mojo:exec-maven-plugin ......................... 1.6.0

Full output attached plugin-updates.txt

krzyk commented 6 months ago

Now I noticed that it was because I didn't define minimum maven version.