Apache Commons logo

commons-release:detach-distributions

Full name:

org.apache.commons:commons-release-plugin:1.7:detach-distributions

Description:

The purpose of this Maven mojo is to detach the artifacts generated by the maven-assembly-plugin, which for the Apache Commons Project do not get uploaded to Nexus, and putting those artifacts in the dev distribution location for Apache projects.

Attributes:

  • Requires a Maven project to be executed.
  • Executes as an aggregator plugin.
  • Since version: 1.0.
  • Binds by default to the lifecycle phase: verify.

Required Parameters

Name Type Since Description
<project> MavenProject 1.0 The maven project context injection so that we can get a hold of the variables at hand.
Default value is: ${project}.

Optional Parameters

Name Type Since Description
<distSvnStagingUrl> String 1.0 The subversion staging url to which we upload all of our staged artifacts.
User property is: commons.distSvnStagingUrl.
<isDistModule> Boolean 1.0 A parameter to generally avoid running unless it is specifically turned on by the consuming module.
Default value is: false.
User property is: commons.release.isDistModule.
<workingDirectory> File 1.0 The working directory in target that we use as a sandbox for the plugin.
Default value is: ${project.build.directory}/commons-release-plugin.
User property is: commons.outputDirectory.

Parameter Details

<distSvnStagingUrl>

The subversion staging url to which we upload all of our staged artifacts.
  • Type: java.lang.String
  • Since: 1.0
  • Required: No
  • User Property: commons.distSvnStagingUrl

<isDistModule>

A parameter to generally avoid running unless it is specifically turned on by the consuming module.
  • Type: java.lang.Boolean
  • Since: 1.0
  • Required: No
  • User Property: commons.release.isDistModule
  • Default: false

<project>

The maven project context injection so that we can get a hold of the variables at hand.
  • Type: org.apache.maven.project.MavenProject
  • Since: 1.0
  • Required: Yes
  • Default: ${project}

<workingDirectory>

The working directory in target that we use as a sandbox for the plugin.
  • Type: java.io.File
  • Since: 1.0
  • Required: No
  • User Property: commons.outputDirectory
  • Default: ${project.build.directory}/commons-release-plugin