gcupload:gcupload

Full name:

org.riedelcastro:gcupload-maven-plugin:0.9.1-SNAPSHOT:gcupload

Description:

Uploads files in the target directory to google code. This code is based on Jonathan Fuerth's ant-googlecode-task.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Invokes the execution of the lifecycle phase package prior to executing itself.

Optional Parameters

Name Type Since Description
allowSnapshots boolean - Should it be possible to upload SNAPSHOT version files. By default this is set to false. This is in accordance with the googlecode file upload policy which requires files with the same name to always contain the same content.
dryRun boolean - Should this goal be executed without actually uploading the files.
projectName String - Google Code project name to upload to.
serverId String - The server id (corresponding to a server's id in settings.xml).
uploads Map[] - Upload descriptors. Each upload descriptor element may have the following subelements:
  • extensions: comma or whitespace separated list of the filename extensions of the files to upload (by default "jar")
  • postfix: the postfix to be appended after artifactId-Version (by default "")
  • prefix: the prefix of the files to upload (by default "artifactId-version")
  • summary: the summary of the files to upload (by default "artifactName postfix")
  • labels: the labels of the files to upload (by default based on the postfix and packaging)

Parameter Details

allowSnapshots:

Should it be possible to upload SNAPSHOT version files. By default this is set to false. This is in accordance with the googlecode file upload policy which requires files with the same name to always contain the same content.
  • Type: boolean
  • Required: No
  • Expression: false

dryRun:

Should this goal be executed without actually uploading the files.
  • Type: boolean
  • Required: No
  • Expression: false

projectName:

Google Code project name to upload to.
  • Type: java.lang.String
  • Required: No
  • Expression: ${project.artifactId}

serverId:

The server id (corresponding to a server's id in settings.xml).
  • Type: java.lang.String
  • Required: No
  • Expression: googlecode

uploads:

Upload descriptors. Each upload descriptor element may have the following subelements:
  • extensions: comma or whitespace separated list of the filename extensions of the files to upload (by default "jar")
  • postfix: the postfix to be appended after artifactId-Version (by default "")
  • prefix: the prefix of the files to upload (by default "artifactId-version")
  • summary: the summary of the files to upload (by default "artifactName postfix")
  • labels: the labels of the files to upload (by default based on the postfix and packaging)
  • Type: java.util.Map[]
  • Required: No