wagon:upload-single

Full name:

org.kuali.maven.plugins:wagon-maven-plugin:1.0.0-SNAPSHOT:upload-single

Description:

Upload a single file with option to change name

Attributes:

Required Parameters

Name Type Since Description
fromFile File - Path to a local file to be uploaded
url String - URL to upload to or download from or list. Must exist and point to a directory.

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 value is: serverId.
skip boolean - When true, skip the execution.
Default value is: false.
toFile String - Relative path to the URL. When blank, default to fromFile's file name.

Parameter Details

fromFile:

Path to a local file to be uploaded
  • Type: java.io.File
  • Required: Yes
  • Expression: ${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
  • Expression: ${wagon.serverId}
  • Default: serverId

skip:

When true, skip the execution.
  • Type: boolean
  • Required: No
  • Expression: ${wagon.skip}
  • Default: false

toFile:

Relative path to the URL. When blank, default to fromFile's file name.
  • Type: java.lang.String
  • Required: No
  • Expression: ${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
  • Expression: ${wagon.url}