wagon:upload-single
Full name:
org.codehaus.mojo:wagon-maven-plugin:3.0.0:upload-single
Description:
Upload a single file with option to change name
Attributes:
- The goal is not marked as thread-safe and thus does not support parallel builds.
Required Parameters
| Name | Type | Since | Description |
|---|---|---|---|
<fromFile> |
File |
- |
Path to a local file to be uploaded. User Property: wagon.fromFile |
<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 |
|---|---|---|---|
<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 |
<toFile> |
String |
- |
Relative path to the URL. When blank, default to fromFile's file name. User Property: wagon.toFile |
Parameter Details
<fromFile>
Path to a local file to be uploaded.
- Type:
java.io.File - Required:
Yes - 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
<toFile>
Relative path to the URL. When blank, default to fromFile's file name.
- Type:
java.lang.String - 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

