deploy:deploy

Full name:

org.apache.maven.plugins:maven-deploy-plugin:2.7: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
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.
skip boolean 2.4 Set this to 'true' to bypass artifact deploy
Default value is: false.
updateReleaseInfo boolean - Parameter used to update the metadata to make the artifact as release.
Default value is: false.

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
  • Type: java.lang.String
  • Required: No
  • Expression: ${altDeploymentRepository}

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
  • Expression: ${retryFailedDeploymentCount}
  • Default: 1

skip:

Set this to 'true' to bypass artifact deploy
  • Type: boolean
  • Since: 2.4
  • Required: No
  • Expression: ${maven.deploy.skip}
  • Default: false

updateReleaseInfo:

Parameter used to update the metadata to make the artifact as release.
  • Type: boolean
  • Required: No
  • Expression: ${updateReleaseInfo}
  • Default: false