maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Scholte (JIRA)" <>
Subject [jira] (MRELEASE-736) Add dryRun flag to release:perform
Date Mon, 12 Mar 2012 21:12:03 GMT


Robert Scholte closed MRELEASE-736.

       Resolution: Fixed
    Fix Version/s: 2.3

Fixed in [rev. 1299865|].
We've decided that the plugin will skip the execution of the perform goals. The tests have
already run during the {{prepare}} and since we don't check out the code it would run twice.
For the authentication and authorization to deploy the artifacts or the site we might need
other release-phases or separate goal.
Most important: it's now possible to do a {{mvn release:prepare release:perform -Ddryrun}}
at once.

> Add dryRun flag to release:perform
> ----------------------------------
>                 Key: MRELEASE-736
>                 URL:
>             Project: Maven 2.x Release Plugin
>          Issue Type: Improvement
>          Components: perform
>    Affects Versions: 2.2.2
>         Environment: mvn 3.0.3
>            Reporter: Dominik Bartholdi
>            Assignee: Robert Scholte
>             Fix For: 2.3
> Please consider to add the "dryRun" flag from the "release:prepare" to the "release:perform"
goal too.
> I have the following use case:
> Jenkins/Hudson has a plugin called m2release which basically is there to help the user
to trigger a maven release. This plugin allows to define a commandline which should be executed
in case of a release build. The common configuration of this arguments are:
> "-Dresume=false release:prepare release:perform"
> the next version of the plugin would like to add a "dryRun" option when triggering a
build and in this case it would just add "-DdryRun=true" to the configured arguments and thats
> Unfortunately this will not work, as the "release:perform" still gets executed and will
> Of course I could also change the Jenkins/Hudson plugin, but this would mean I have to
remove "release:perform" from the passed argument, which is relay ugly.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message