wagon:upload

Full name:

org.kuali.maven.plugins:wagon-maven-plugin:1.0.0:upload

Description:

Upload multiple sets of files.

Attributes:

  • Requires a Maven project to be executed.

Required Parameters

Name Type Since Description
url String - URL to upload to or download from or list. Must exist and point to a directory.

Optional Parameters

Name Type Since Description
excludes String - Comma separate list of Ant's excludes to scan for local files
followSymLink boolean - Follow local symbolic link if possible
Default value is: false.
fromDir File - Local directory to upload to wagon's "url/toDir"
Default value is: ${project.basedir}.
includes String - Comma separate list of Ant's includes to scan for local files
optimize boolean - Optimize the upload by locally compressed all files in one bundle, upload the bundle, and finally remote uncompress the bundle.
Default value is: false.
serverId String - settings.xml's server id for the URL. This is used when wagon needs extra authentication information.
Default value is: serverId.
skip boolean - When true, skip the execution.
Default value is: false.
toDir String - Remote path relative to Wagon's url to upload local files to.
useDefaultExcludes boolean - Use default exclude sets
Default value is: true.

Parameter Details

excludes:

Comma separate list of Ant's excludes to scan for local files
  • Type: java.lang.String
  • Required: No
  • Expression: ${wagon.excludes}

followSymLink:

Follow local symbolic link if possible
  • Type: boolean
  • Required: No
  • Expression: ${wagon.followSymLink}
  • Default: false

fromDir:

Local directory to upload to wagon's "url/toDir"
  • Type: java.io.File
  • Required: No
  • Expression: ${wagon.fromDir}
  • Default: ${project.basedir}

includes:

Comma separate list of Ant's includes to scan for local files
  • Type: java.lang.String
  • Required: No
  • Expression: ${wagon.includes}

optimize:

Optimize the upload by locally compressed all files in one bundle, upload the bundle, and finally remote uncompress the bundle.
  • Type: boolean
  • Required: No
  • Expression: ${wagon.optimize}
  • Default: false

serverId:

settings.xml's server id for the URL. This is used when wagon needs extra authentication information.
  • Type: java.lang.String
  • Required: No
  • Expression: ${wagon.serverId}
  • Default: serverId

skip:

When true, skip the execution.
  • Type: boolean
  • Required: No
  • Expression: ${wagon.skip}
  • Default: false

toDir:

Remote path relative to Wagon's url to upload local files to.
  • Type: java.lang.String
  • Required: No
  • Expression: ${wagon.toDir}

url:

URL to upload to or download from or list. Must exist and point to a directory.
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${wagon.url}

useDefaultExcludes:

Use default exclude sets
  • Type: boolean
  • Required: No
  • Expression: ${wagon.useDefaultExcludes}
  • Default: true