wagon:download
Full name:
org.codehaus.mojo:wagon-maven-plugin:3.0.0:download
Description:
Transfers a set of files from a remote URL to a specified local directory.
Attributes:
- The goal is not marked as thread-safe and thus does not support parallel builds.
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: wagon.url |
Optional Parameters
| Name | Type | Since | Description |
|---|---|---|---|
<caseSensitive> |
boolean |
- |
Whether to consider remote path case sensitivity during scan. Default: trueUser 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 Wagon's URL User Property: wagon.fromDir |
<includes> |
String |
- |
Comma separated list of Ant's includes to scan for remote files Default: *User Property: wagon.includes |
<serverId> |
String |
- |
settings.xml's server id for the URL. This is used when wagon needs extra authentication information. Default: serverIdUser Property: wagon.serverId |
<skip> |
boolean |
2.0.0 |
When true, skip the execution.User Property: wagon.skip |
<toDir> |
File |
- |
Local directory to download the remote resource ( tree ) to. Default: ${project.build.directory}/wagon-pluginUser Property: 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
<skip>
When
true, skip the execution.- Type:
boolean - Since:
2.0.0 - Required:
No - User Property:
wagon.skip
<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

