upload:upload-files

Full name:

net.lopht.maven-plugins:upload-maven-plugin:0.6.0:upload-files

Description:

Uploads multiple files to remote repository.

Attributes:

  • Requires a Maven project to be executed.
  • Binds by default to the lifecycle phase: deploy.

Optional Parameters

Name Type Since Description
<basedir> File 0.0.1 The path to the folder to scan for files to upload.
Default value is: ${project.basedir}.
User property is: upload.basedir.
<excludes> String[] 0.0.1 List of Ant file patterns to exclude from basedir.
User property is: upload.excludes.
<headers> Map 0.2.0 Custom HTTP headers to add to each request.
<includes> String[] 0.0.1 List of Ant file patterns to include from basedir.
User property is: upload.includes.
<preemptiveAuth> boolean 0.3.0 Set to true if the server requires credentials in the initial request.
Default value is: false.
User property is: upload.preemptiveAuth.
<repositoryBasepath> String 0.1.0 The server path to the folder where the files will be uploaded, ie path/to/folder. Will be appended to the repositoryUrl parameter.
User property is: upload.repositoryBasePath.
<repositoryUrl> String 0.0.1 The base URL of the server, ie http://server.example.com/.
User property is: upload.repositoryUrl.
<serverId> String 0.0.1 The server Id in settings.xml with credentials to use.
User property is: upload.serverId.
<session> MavenSession 0.0.1 (no description)
User property is: session.
<skip> boolean 0.4.0 Set to true to skip execution.
Default value is: false.
User property is: upload.skip.
<usePOST> boolean 0.5.0 Use POST instead of PUT
Default value is: false.
User property is: upload.post.

Parameter Details

<basedir>

The path to the folder to scan for files to upload.
  • Type: java.io.File
  • Since: 0.0.1
  • Required: No
  • User Property: upload.basedir
  • Default: ${project.basedir}

<excludes>

List of Ant file patterns to exclude from basedir.
  • Type: java.lang.String[]
  • Since: 0.0.1
  • Required: No
  • User Property: upload.excludes

<headers>

Custom HTTP headers to add to each request.
  • Type: java.util.Map
  • Since: 0.2.0
  • Required: No

<includes>

List of Ant file patterns to include from basedir.
  • Type: java.lang.String[]
  • Since: 0.0.1
  • Required: No
  • User Property: upload.includes

<preemptiveAuth>

Set to true if the server requires credentials in the initial request.
  • Type: boolean
  • Since: 0.3.0
  • Required: No
  • User Property: upload.preemptiveAuth
  • Default: false

<repositoryBasepath>

The server path to the folder where the files will be uploaded, ie path/to/folder. Will be appended to the repositoryUrl parameter.
  • Type: java.lang.String
  • Since: 0.1.0
  • Required: No
  • User Property: upload.repositoryBasePath

<repositoryUrl>

The base URL of the server, ie http://server.example.com/.
  • Type: java.lang.String
  • Since: 0.0.1
  • Required: No
  • User Property: upload.repositoryUrl

<serverId>

The server Id in settings.xml with credentials to use.
  • Type: java.lang.String
  • Since: 0.0.1
  • Required: No
  • User Property: upload.serverId

<session>

(no description)
  • Type: org.apache.maven.execution.MavenSession
  • Since: 0.0.1
  • Required: No
  • User Property: session

<skip>

Set to true to skip execution.
  • Type: boolean
  • Since: 0.4.0
  • Required: No
  • User Property: upload.skip
  • Default: false

<usePOST>

Use POST instead of PUT
  • Type: boolean
  • Since: 0.5.0
  • Required: No
  • User Property: upload.post
  • Default: false