deploy:deploy

Full name:

org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy

Description:

Deploys an artifact to remote repository.

Attributes:

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

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.
altReleaseDeploymentRepository String 2.8 The alternative repository to use when the project has a final version.
User property is: altReleaseDeploymentRepository.
altSnapshotDeploymentRepository String 2.8 The alternative repository to use when the project has a snapshot version.
User property is: altSnapshotDeploymentRepository.
deployAtEnd boolean 2.8 Whether every project should be deployed during its own deploy-phase or at the end of the multimodule build. If set to true and the build fails, none of the reactor projects is deployed. (experimental)
Default value is: false.
User property is: deployAtEnd.
retryFailedDeploymentCount int 2.7 Parameter used to control how many times a failed deployment will be retried before giving up and failing. If a value outside the range 1-10 is specified it will be pulled to the nearest value within the range 1-10.
Default value is: 1.
User property is: retryFailedDeploymentCount.
skip boolean 2.4 Set this to 'true' to bypass artifact deploy
Default value is: false.
User property is: maven.deploy.skip.
updateReleaseInfo boolean - Parameter used to update the metadata to make the artifact as release.
Default value is: false.
User property is: updateReleaseInfo.

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

altReleaseDeploymentRepository:

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

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

deployAtEnd:

Whether every project should be deployed during its own deploy-phase or at the end of the multimodule build. If set to true and the build fails, none of the reactor projects is deployed. (experimental)
  • Type: boolean
  • Since: 2.8
  • Required: No
  • User Property: deployAtEnd
  • Default: false

retryFailedDeploymentCount:

Parameter used to control how many times a failed deployment will be retried before giving up and failing. If a value outside the range 1-10 is specified it will be pulled to the nearest value within the range 1-10.
  • Type: int
  • Since: 2.7
  • Required: No
  • User Property: retryFailedDeploymentCount
  • Default: 1

skip:

Set this to 'true' to bypass artifact deploy
  • Type: boolean
  • Since: 2.4
  • Required: No
  • User Property: maven.deploy.skip
  • Default: false

updateReleaseInfo:

Parameter used to update the metadata to make the artifact as release.
  • Type: boolean
  • Required: No
  • User Property: updateReleaseInfo
  • Default: false