plugin:addPluginArtifactMetadata

Full name:

org.apache.maven.plugins:maven-plugin-plugin:3.11.0: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

See also: org.apache.maven.artifact.repository.metadata.ArtifactRepositoryMetadata, org.apache.maven.artifact.repository.metadata.GroupRepositoryMetadata

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 - 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: false
User Property: maven.plugin.skip

Parameter Details

<goalPrefix>

The prefix for the plugin goal.
  • Type: java.lang.String
  • Required: report.plugin.goal.no

<skip>

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