Fork me on GitHub

wagon:copy

Full name:

org.codehaus.mojo:wagon-maven-plugin:2.0.0:copy

Description:

Copy artifacts from one Wagon repository to another Wagon repository.

Attributes:

Required Parameters

Name Type Since Description
source String - The URL to the source repository.
User property is: wagon.source.
target String - The URL to the target repository.
User property is: wagon.target.

Optional Parameters

Name Type Since Description
caseSensitive boolean - Whether to consider remote path case sensitivity during scan.
User property is: wagon.caseSensitive.
excludes String - Comma separated list of Ant's excludes to scan for remote files
User property is: wagon.excludes.
fromDir String - Directory path relative to source's Wagon
User property is: wagon.fromDir.
includes String - Comma separated list of Ant's includes to scan for remote files
Default value is: *.
User property is: 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 value is: false.
User property is: wagon.optimize.
sourceId String - settings.xml's server id of the source repository. This is used when wagon needs extra authentication information.
Default value is: source.
User property is: wagon.sourceId.
targetId String - settings.xml's server id of the target repository. This is used when wagon needs extra authentication information.
Default value is: target.
User property is: wagon..
toDir String - Remote path relative to target's url to copy files to.
User property is: 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

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.
  • Default: target

toDir:

Remote path relative to target's url to copy files to.
  • Type: java.lang.String
  • Required: No
  • User Property: wagon.toDir