Fork me on GitHub

wagon:download

Full name:

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

Description:

Transfers a set of files from a remote URL to a specified local directory.

Attributes:

Required Parameters

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

Optional Parameters

Name Type Since Description
caseSensitive boolean - Whether to consider remote path case sensitivity during scan.
Default value is: true.
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 Wagon's URL
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.
serverId String - settings.xml's server id for the URL. This is used when wagon needs extra authentication information.
Default value is: serverId.
User property is: wagon.serverId.
toDir File - Local directory to download the remote resource ( tree ) to.
Default value is: ${project.build.directory}/wagon-plugin.
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
  • Default: true

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 Wagon's URL
  • 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: *

serverId:

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

toDir:

Local directory to download the remote resource ( tree ) to.
  • Type: java.io.File
  • Required: No
  • User Property: wagon.toDir
  • Default: ${project.build.directory}/wagon-plugin

url:

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