Apache Commons logo

commons-release:detach-distributions

Full name:

org.apache.commons:commons-release-plugin:1.8.1: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 goal.
  • The goal is thread-safe and supports parallel builds.
  • Since version: 1.0.
  • Binds by default to the lifecycle phase: verify.

Required Parameters

Name Type Since Description
<project> MavenProject - 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 - The subversion staging url to which we upload all of our staged artifacts.
User property is: commons.distSvnStagingUrl.
<isDistModule> Boolean - 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 - 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
  • 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
  • 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
  • Required: Yes
  • Default: ${project}

<workingDirectory>

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