wagon:copy
Full name:
org.codehaus.mojo:wagon-maven-plugin:3.0.0:copy
Description:
Copy artifacts from one Wagon repository to another Wagon repository.
Attributes:
- The goal is not marked as thread-safe and thus does not support parallel builds.
Required Parameters
| Name | Type | Since | Description |
|---|---|---|---|
<source> |
String |
- |
The URL to the source repository. User Property: wagon.source |
<target> |
String |
- |
The URL to the target repository. User Property: wagon.target |
Optional Parameters
| Name | Type | Since | Description |
|---|---|---|---|
<caseSensitive> |
boolean |
- |
Whether to consider remote path case sensitivity during scan. User Property: wagon.caseSensitive |
<excludes> |
String |
- |
Comma separated list of Ant's excludes to scan for remote files User Property: wagon.excludes |
<fromDir> |
String |
- |
Directory path relative to source's Wagon User Property: wagon.fromDir |
<includes> |
String |
- |
Comma separated list of Ant's includes to scan for remote files Default: *User Property: wagon.includes |
<optimize> |
boolean |
- |
Optimize the upload by locally compressed all files in one bundle, upload the bundle, and finally remote uncompress the bundle. This only works with SCP's URL Default: falseUser Property: wagon.optimize |
<skip> |
boolean |
2.0.0 |
When true, skip the execution.User Property: wagon.skip |
<sourceId> |
String |
- |
settings.xml's server id of the source repository. This is used when wagon needs extra authentication information. Default: sourceUser Property: wagon.sourceId |
<targetId> |
String |
- |
settings.xml's server id of the target repository. This is used when wagon needs extra authentication information. Default: targetUser Property: wagon.targetId |
<toDir> |
String |
- |
Remote path relative to target's url to copy files to. User Property: wagon.toDir |
Parameter Details
<caseSensitive>
Whether to consider remote path case sensitivity during scan.
- Type:
boolean - Required:
No - User Property:
wagon.caseSensitive
<excludes>
Comma separated list of Ant's excludes to scan for remote files
- Type:
java.lang.String - Required:
No - User Property:
wagon.excludes
<fromDir>
Directory path relative to source's Wagon
- Type:
java.lang.String - Required:
No - User Property:
wagon.fromDir
<includes>
Comma separated list of Ant's includes to scan for remote files
- Type:
java.lang.String - Required:
No - User Property:
wagon.includes - Default:
*
<optimize>
Optimize the upload by locally compressed all files in one bundle, upload the bundle, and finally remote uncompress the bundle. This only works with SCP's URL
- Type:
boolean - Required:
No - User Property:
wagon.optimize - Default:
false
<skip>
When
true, skip the execution.- Type:
boolean - Since:
2.0.0 - Required:
No - User Property:
wagon.skip
<source>
The URL to the source repository.
- Type:
java.lang.String - Required:
Yes - User Property:
wagon.source
<sourceId>
settings.xml's server id of the source repository. This is used when wagon needs extra authentication information.
- Type:
java.lang.String - Required:
No - User Property:
wagon.sourceId - Default:
source
<target>
The URL to the target repository.
- Type:
java.lang.String - Required:
Yes - User Property:
wagon.target
<targetId>
settings.xml's server id of the target repository. This is used when wagon needs extra authentication information.
- Type:
java.lang.String - Required:
No - User Property:
wagon.targetId - Default:
target
<toDir>
Remote path relative to target's url to copy files to.
- Type:
java.lang.String - Required:
No - User Property:
wagon.toDir

