versions
versions copied to clipboard
display-plugin-updates does not recognize enforced maven version
This issue https://github.com/mojohaus/versions-maven-plugin/issues/329 as seen on Maven 3.8.6 and versions-maven-plugin:2.11.0:display-plugin-updates
Whatever the value of
<prerequisites>
<maven>3.8.3</maven>
</prerequisites>
It always complains
[INFO] All plugins with a version specified are using the latest versions.
[INFO]
[INFO] All plugins have a version specified.
[INFO]
[WARNING] Project does not define minimum Maven version required for build, default is: 2.0
[INFO] Plugins require minimum Maven version of: 3.2.5
[INFO]
[WARNING] Project (which is a Maven plugin) does not define required minimum version of Maven.
[WARNING] Update the pom.xml to contain
[WARNING] <prerequisites>
[WARNING] <maven><!-- minimum version of Maven that the plugin works with --></maven>
[WARNING] </prerequisites>
[WARNING] To build this plugin you need at least Maven 3.2.5
[WARNING] A Maven Enforcer rule can be used to enforce this if you have not already set one up
[WARNING] See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
etc