Full name:
org.apache.maven.plugins:maven-deploy-plugin:2.5:deploy-file
Description:
Attributes:
Name | Type | Since | Description |
---|---|---|---|
file | File |
- |
File to be deployed. |
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 . |
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 . |
url | String |
- |
URL where the artifact will be deployed. ie ( file://C:\m2-repo or scp://host.com/path/to/repo ) |
Name | Type | Since | Description |
---|---|---|---|
artifactId | String |
- |
ArtifactId of the artifact to be deployed. Retrieved from POM file
if specified. |
classifier | String |
- |
Add classifier to the artifact |
description | String |
- |
Description passed to a generated POM file (in case of
generatePom=true) |
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 . |
groupId | String |
- |
GroupId of the artifact to be deployed. Retrieved from POM file if
specified. |
packaging | String |
- |
Type of the artifact to be deployed. Retrieved from POM file if
specified. |
pomFile | File |
- |
Location of an existing POM file to be deployed alongside the main
artifact, given by the ${file} parameter. |
uniqueVersion | boolean |
- |
Whether to deploy snapshots with a unique version or not. Default value is: true . |
updateReleaseInfo | boolean |
- |
Parameter used to update the metadata to make the artifact as
release. Default value is: false . |
version | String |
- |
Version of the artifact to be deployed. Retrieved from POM file if
specified. |
java.lang.String
No
${artifactId}
java.lang.String
No
${classifier}
java.lang.String
No
${generatePom.description}
file:
java.io.File
Yes
${file}
boolean
No
${generatePom}
true
java.lang.String
No
${groupId}
java.lang.String
No
${packaging}
java.io.File
No
${pomFile}
java.lang.String
Yes
${repositoryId}
remote-repository
java.lang.String
Yes
${repositoryLayout}
default
boolean
No
${uniqueVersion}
true
boolean
No
${updateReleaseInfo}
false
url:
java.lang.String
Yes
${url}
java.lang.String
No
${version}