Full name:
org.apache.maven.plugins:maven-deploy-plugin:2.4: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. |
| version | String |
- |
Version of the artifact to be deployed. Retrieved from POM file if specified. |
java.lang.StringNo${artifactId}java.lang.StringNo${classifier}java.lang.StringNo${generatePom.description}file :
java.io.FileYes${file}booleanNo${generatePom}truegroupId :
java.lang.StringNo${groupId}java.lang.StringNo${packaging}pomFile :
java.io.FileNo${pomFile}java.lang.StringYes${repositoryId}remote-repositoryjava.lang.StringYes${repositoryLayout}defaultbooleanNo${uniqueVersion}trueurl :
java.lang.StringYes${url}version :
java.lang.StringNo${version}