wagon:download-single
Full name:
org.codehaus.mojo:wagon-maven-plugin:3.0.0:download-single
Description:
Download a single file.
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 |
|---|---|---|---|
<fromFile> |
String |
- |
Relative path to the base URL. When empty, assume base URL has the full path User Property: wagon.fromFile |
<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 |
<skipIfExists> |
boolean |
- |
Skip download if local file already exists. User Property: wagon.skipIfExists |
<toDir> |
File |
- |
Directory to download the remote file to. User Property: wagon.toDir |
<toFile> |
File |
- |
File to download the remote file to. Use this option to rename the file after download. When toDir is present, this argument is ignored. User Property: wagon.toFile |
Parameter Details
<fromFile>
Relative path to the base URL. When empty, assume base URL has the full path
- Type:
java.lang.String - Required:
No - User Property:
wagon.fromFile
<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
<skipIfExists>
Skip download if local file already exists.
- Type:
boolean - Required:
No - User Property:
wagon.skipIfExists
<toDir>
Directory to download the remote file to.
- Type:
java.io.File - Required:
No - User Property:
wagon.toDir
<toFile>
File to download the remote file to. Use this option to rename the file after download. When toDir is present, this argument is ignored.
- Type:
java.io.File - Required:
No - User Property:
wagon.toFile
<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

