Installing Maven plugins

To download plugins and the required dependencies, run this command:

mvn org.apache.maven.plugins:maven-dependency-plugin:2.6:get -Dartifact=groupId:artifactId:version

For example, to download versions-maven-plugin:

mvn org.apache.maven.plugins:maven-dependency-plugin:2.6:get -Dartifact=org.codehaus.mojo:versions-maven-plugin:2.3 -DrepoUrl=https://github.com/mojohaus/versions-maven-plugin

If the plugins need to be installed manually, refer to this documentation on the Apache Maven project site.

Leave a Reply