Plugin Documentation

Goals available for this plugin:

Goal Description
artifact-versions:copy Like the get goal, but will copy the artifact to a givend estination.
artifact-versions:get Get a specific version of the artifact. By default the latest version is retrieved. With the offset parameter an older version can be retrieved.
artifact-versions:help Display help information on artifact-versions-maven-plugin.
Call mvn artifact-versions:help -Ddetail=true -Dgoal=<goal-name> to display parameter details.
artifact-versions:list List available versions of the specified artifact.
artifact-versions:unpack Like the get goal, but it will also unpack the retrieved artifact.

System Requirements

The following specifies the minimum requirements to run this Maven plugin:

Maven 3.5.0
JDK 1.8
Memory No minimum requirement.
Disk Space No minimum requirement.

Usage

You should specify the version in your project's plugin configuration:

<project>
  ...
  <build>
    <!-- To define the plugin version in your parent POM -->
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>com.mpobjects.maven</groupId>
          <artifactId>artifact-versions-maven-plugin</artifactId>
          <version>1.0.2-SNAPSHOT</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>com.mpobjects.maven</groupId>
        <artifactId>artifact-versions-maven-plugin</artifactId>
        <version>1.0.2-SNAPSHOT</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

For more information, see "Guide to Configuring Plug-ins"