Plugin Documentation

Goals available for this plugin:

Goal Description
itartifact:attach Attaches a secondary artifact to the current project. This mimics source/javadoc attachments or other assemblies.
itartifact:attach-pom Attaches a POM to the main artifact.
itartifact:collect Collects user-specified artifacts. This mimics in part the Maven Assembly Plugin.
itartifact:deploy Deploys the project artifacts to the distribution repository. This is the essence of the Maven Deploy Plugin.
itartifact:deploy-file Deploys a user-supplied file to some repository. This mimics part of the Maven Deploy Plugin.
itartifact:install Installs the project artifacts into the local repository. This is the essence of the Maven Install Plugin.
itartifact:install-artifacts No description.
itartifact:install-custom Installs the project artifacts into a local repository with a custom base directory and a custom layout.
itartifact:latest Marks the project's artifact as the latest version.
itartifact:release Marks the project's artifact as a release.
itartifact:resolve Resolves user-specified artifacts. This mimics in part the Maven Dependency Plugin and the Maven Surefire Plugin.
itartifact:resolve-transitive Resolves user-specified artifacts transitively. As an additional exercise, the resolution happens in a forked thread to test access to any shared session state.
itartifact:set Sets the main artifact's file. This is the essence of the Maven JAR Plugin and all the other packaging plugins. Creating the actual file for the main artifact is a specific plugin job and not related to the Maven core.

System Requirements

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

Maven 2.0
JDK Default target for maven-compiler-plugin version 3.8.1
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>org.apache.maven.its.plugins</groupId>
          <artifactId>maven-it-plugin-artifact</artifactId>
          <version>2.1-SNAPSHOT</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>org.apache.maven.its.plugins</groupId>
        <artifactId>maven-it-plugin-artifact</artifactId>
        <version>2.1-SNAPSHOT</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

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