Upgrade plugins to Maven 3 - min required Maven version

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Upgrade plugins to Maven 3 - min required Maven version

Sylwester Lachiewicz
Hi dev,

As a test, I am trying to run plug-in updates in the maven-resolver mode
and I received an error message indicating that required runtime Maven
version is lower than required for plug-in.

I have a question, which version of Maven should I set required as a
minimum when upgrading plugins for Maven 3? Can I set 3.0.0 or 3.0.5 to
align with the current Maven 3.5?
For apache / maven I received the same message.

Best regards,

[INFO] --- versions-maven-plugin:2.6-SNAPSHOT:display-plugin-updates
(default-cli) @ maven-resolver ---
[INFO] Project inherits minimum Maven version as: 3.0
[INFO] Plugins require minimum Maven version of: 3.0.4
[INFO] Note: the super-pom from Maven 3.5.3-SNAPSHOT defines some of the
[INFO]       versions and may be influencing the plugins required minimum
[INFO]       version.
[ERROR] Project requires an incorrect minimum version of Maven.
[ERROR] Update the pom.xml to contain maven-enforcer-plugin to
[ERROR] force the maven version which is needed to build this project.
[ERROR] Using the minimum version of Maven: 3.0