wagon:upload
Full name:
org.codehaus.mojo:wagon-maven-plugin:2.0.2: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. User property is: wagon.url . |
Optional Parameters
Name | Type | Since | Description |
---|---|---|---|
<excludes> |
String |
- |
Comma separate list of Ant's excludes to scan for local files. User property is: wagon.excludes . |
<followSymLink> |
boolean |
- |
Follow local symbolic link if possible. Default value is: false .User property is: wagon.followSymLink . |
<fromDir> |
File |
- |
Local directory to upload to wagon's "url/toDir". Default value is: ${project.basedir} .User property is: wagon.fromDir . |
<includes> |
String |
- |
Comma separate list of Ant's includes to scan for local files. User property is: wagon.includes . |
<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 .User property is: wagon.optimize . |
<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 . |
<skip> |
boolean |
2.0.0 |
When true , skip the execution.User property is: wagon.skip . |
<toDir> |
String |
- |
Remote path relative to Wagon's url to upload local files to. User property is: wagon.toDir . |
<useDefaultExcludes> |
boolean |
- |
Use default exclude sets. Default value is: true .User property is: wagon.useDefaultExcludes . |
Parameter Details
<excludes>
Comma separate list of Ant's excludes to scan for local files.
- Type:
java.lang.String
- Required:
No
- User Property:
wagon.excludes
<followSymLink>
Follow local symbolic link if possible.
- Type:
boolean
- Required:
No
- User Property:
wagon.followSymLink
- Default:
false
<fromDir>
Local directory to upload to wagon's "url/toDir".
- Type:
java.io.File
- Required:
No
- User Property:
wagon.fromDir
- Default:
${project.basedir}
<includes>
Comma separate list of Ant's includes to scan for local files.
- Type:
java.lang.String
- Required:
No
- User Property:
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
- User Property:
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
- 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>
Remote path relative to Wagon's url to upload local files to.
- Type:
java.lang.String
- Required:
No
- User Property:
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
- User Property:
wagon.url
<useDefaultExcludes>
Use default exclude sets.
- Type:
boolean
- Required:
No
- User Property:
wagon.useDefaultExcludes
- Default:
true