What if I (for example) have 2 versions of the same maven plugin - versions-maven-plugin for example. There are versions 1.0 and 2.0 in my repository. When I execute the following command, it looks like version 1.0:
versions-maven-plugin
mvn -e versions: display-plugin-updates
How can I explicitly specify version 2.0?
A simple solution is to define groupId / artifactId and, of course, the next version:
mvn -e org.codehaus.mojo:versions-maven-plugin:2.0:display-plugin-updates