plugin:addPluginArtifactMetadata

Full name:

org.apache.maven.plugins:maven-plugin-plugin:3.4:addPluginArtifactMetadata

Description:

Inject any plugin-specific artifact metadata to the project's artifact, for subsequent installation and deployment. It is used:
  1. to add the latest metadata (which is plugin-specific) for shipping alongside the plugin's artifact
  2. to define plugin mapping in the group

Attributes:

  • Requires a Maven project to be executed.
  • The goal is thread-safe and supports parallel builds.
  • Since version: 2.0.
  • Binds by default to the lifecycle phase: package.

Optional Parameters

Name Type Since Description
goalPrefix String 2.0 The prefix for the plugin goal.
skip boolean 2.8 Set this to "true" to skip invoking any goals or reports of the plugin.
Default value is: false.
User property is: maven.plugin.skip.

Parameter Details

goalPrefix:

The prefix for the plugin goal.
  • Type: java.lang.String
  • Since: 2.0
  • Required: No

skip:

Set this to "true" to skip invoking any goals or reports of the plugin.
  • Type: boolean
  • Since: 2.8
  • Required: No
  • User Property: maven.plugin.skip
  • Default: false