wagon:download-single

Full name:

org.kuali.maven.plugins:wagon-maven-plugin:1.0.3:download-single

Description:

Download a single file.

Attributes:

Required Parameters

Name Type Since Description
fromFile String - Relative path to the URL.
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.
toDir File - Directory to download the remote file to
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

Parameter Details

fromFile:

Relative path to the URL.
  • Type: java.lang.String
  • 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

toDir:

Directory to download the remote file to
  • Type: java.io.File
  • Required: No
  • Expression: ${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
  • 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}