Full name:
org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy-file
Description:
Attributes:
Name | Type | Since | Description |
---|---|---|---|
file | File | - | File to be deployed. User property is: file. |
repositoryId | String | - | Server Id to map on the <id> under <server> section of
settings.xml In most cases, this parameter will be required for
authentication. Default value is: remote-repository. User property is: repositoryId. |
url | String | - | URL where the artifact will be deployed. ie ( file:///C:/m2-repo or scp://host.com/path/to/repo ) User property is: url. |
Name | Type | Since | Description |
---|---|---|---|
artifactId | String | - | ArtifactId of the artifact to be deployed. Retrieved from POM file
if specified. User property is: artifactId. |
classifier | String | - | Add classifier to the artifact User property is: classifier. |
classifiers | String | - | A comma separated list of classifiers for each of the extra side
artifacts to deploy. If there is a mis-match in the number of
entries in files or types, then an error
will be raised. User property is: classifiers. |
description | String | - | Description passed to a generated POM file (in case of
generatePom=true) User property is: generatePom.description. |
files | String | - | A comma separated list of files for each of the extra side
artifacts to deploy. If there is a mis-match in the number of
entries in types or classifiers, then an
error will be raised. User property is: files. |
generatePom | boolean | - | Upload a POM for this artifact. Will generate a default POM if none
is supplied with the pomFile argument. Default value is: true. User property is: generatePom. |
groupId | String | - | GroupId of the artifact to be deployed. Retrieved from POM file if
specified. User property is: groupId. |
javadoc | File | 2.6 | The bundled API docs for the artifact. User property is: javadoc. |
packaging | String | - | Type of the artifact to be deployed. Retrieved from the
<packaging> element of the POM file if a POM file specified.
Defaults to the file extension if it is not specified via command
line or POM. Maven uses two terms to refer to this datum: the <packaging> element for the entire POM, and the <type> element in a dependency specification. User property is: packaging. |
pomFile | File | - | Location of an existing POM file to be deployed alongside the main
artifact, given by the ${file} parameter. User property is: pomFile. |
repositoryLayout | String | - | The type of remote repository layout to deploy to. Try
legacy for a Maven 1.x-style repository layout. Default value is: default. User property is: repositoryLayout. |
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. |
sources | File | 2.6 | The bundled sources for the artifact. User property is: sources. |
types | String | - | A comma separated list of types for each of the extra side
artifacts to deploy. If there is a mis-match in the number of
entries in files or classifiers, then an
error will be raised. User property is: types. |
uniqueVersion | boolean | - | Whether to deploy snapshots with a unique version or not. Default value is: true. User property is: uniqueVersion. |
updateReleaseInfo | boolean | - | Parameter used to update the metadata to make the artifact as
release. Default value is: false. User property is: updateReleaseInfo. |
version | String | - | Version of the artifact to be deployed. Retrieved from POM file if
specified. User property is: version. |
file:
url: