commons-release:stage-distributionsFull name: org.apache.commons:commons-release-plugin:1.8.1:stage-distributions Description: This class checks out the dev distribution location, copies the distributions into that directory structure under the
target/commons-release-plugin/scm directory. Then commits the distributions back up to SVN. Also, we include the built and zipped site as well as the RELEASE-NOTES.txt.Attributes:
Required Parameters
Optional Parameters
Parameter Details<baseDir>The
java.io.File that contains a file to the root directory of the working project. Typically this directory is where the pom.xml resides.
<commonsRcVersion>The RC version of the release. For example the first voted on candidate would be "RC1".
<commonsReleaseVersion>The release version of the artifact to be built.
<distCheckoutDirectory>The location to which to check out the dist subversion repository under our working directory, which was given above.
<distServer>The ID of the server (specified in settings.xml) which should be used for dist authentication. This will be used in preference to
username /password .
<distSvnStagingUrl>The url of the subversion repository to which we wish the artifacts to be staged. Typically this would need to be of the form:
scm:svn:https://dist.apache.org/repos/dist/dev/commons/foo/version-RC# . Note. that the prefix to the substring https is a requirement.
<dryRun>A boolean that determines whether or not we actually commit the files up to the subversion repository. If this is set to
true , we do all but make the commits. We do checkout the repository in question though.
<isDistModule>A parameter to generally avoid running unless it is specifically turned on by the consuming module.
<password>The password associated with
username .
<project>The
org.apache.maven.project.MavenProject object is essentially the context of the maven build at a given time.
<releaseNotesFile>The location of the RELEASE-NOTES.txt file such that multi-module builds can configure it.
<siteDirectory>The location to which the site gets built during running
mvn site .
<username>The username for the distribution subversion repository. This is typically your Apache id.
<workingDirectory>The main working directory for the plugin, namely
target/commons-release-plugin , but that assumes that we're using the default maven ${project.build.directory} .
|