What if I have (for example) 2 versions of the same maven plugin - versions-maven-plugin
for example. There is 1.0 and 2.0 versions already in my repository. When I execute the following command it looks like the 1.0 version is executed:
mvn -e versions:display-plugin-updates
How can I explicitly specify to use 2.0 version?
The simple solution is to define the groupId/artifactId and of course the version like the following:
mvn -e org.codehaus.mojo:versions-maven-plugin:2.0:display-plugin-updates
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With