Fork me on GitHub

pom-deployer:add-pom

Full name:

org.goots.maven.plugins:pom-deployer-maven-plugin:1.0:add-pom

Description:

Installs and deploys the specified XML (POM).

Attributes:

  • Requires a Maven project to be executed.
  • Binds by default to the lifecycle phase: install.

Required Parameters

Name Type Since Description
artifactId String - artifactId to deploy the target pom to
groupId String - groupId to deploy the target pom to
pomName File - Specify the target XML pom to deploy to the specified groupId/artifactID.

Optional Parameters

Name Type Since Description
altDeploymentRepository String - Specifies an alternative repository to which the project artifacts should be deployed ( other than those specified in <distributionManagement> ).
Format: id::layout::url
id
The id can be used to pick up the correct credentials from the settings.xml
layout
Either default for the Maven2 layout or legacy for the Maven1 layout. Maven3 also uses the default layout.
url
The location of the repository

User property is: altDeploymentRepository.
altSnapshotDeploymentRepository String 2.8 The alternative repository to use when the project has a snapshot version.
User property is: altSnapshotDeploymentRepository.
errorOnMissing boolean - Whether to throw an error if the target file is missing
Default value is: true.
skip boolean - Whether to skip this plugin entirely.
Default value is: false.
User property is: add-pom.skip.

Parameter Details

altDeploymentRepository:

Specifies an alternative repository to which the project artifacts should be deployed ( other than those specified in <distributionManagement> ).
Format: id::layout::url
id
The id can be used to pick up the correct credentials from the settings.xml
layout
Either default for the Maven2 layout or legacy for the Maven1 layout. Maven3 also uses the default layout.
url
The location of the repository
  • Type: java.lang.String
  • Required: No
  • User Property: altDeploymentRepository

altSnapshotDeploymentRepository:

The alternative repository to use when the project has a snapshot version.
  • Type: java.lang.String
  • Since: 2.8
  • Required: No
  • User Property: altSnapshotDeploymentRepository

artifactId:

artifactId to deploy the target pom to
  • Type: java.lang.String
  • Required: Yes

errorOnMissing:

Whether to throw an error if the target file is missing
  • Type: boolean
  • Required: No
  • Default: true

groupId:

groupId to deploy the target pom to
  • Type: java.lang.String
  • Required: Yes

pomName:

Specify the target XML pom to deploy to the specified groupId/artifactID.
  • Type: java.io.File
  • Required: Yes

skip:

Whether to skip this plugin entirely.
  • Type: boolean
  • Required: No
  • User Property: add-pom.skip
  • Default: false