Maven Release Plugin
  1. Maven Release Plugin
  2. MRELEASE-341

support release process that use a staging repository


    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-beta-8
    • Fix Version/s: 2.0-beta-8
    • Component/s: None
    • Labels:


      Many release process (ex: geronimo) require the release candidate to be exposed in a staging repository for testing, then vote from the communiity, and finally copy the artifact in the public repository / web site. This requires to run the release:perform with the final version (not a "-rc*" one).

      When the vote fails, the release manager has to rollback the project to the previous SNAPSHOT version. As release:perform removes all the release-related files (including pom backups) the release:rollback goal cannot be used for this.

      Geronimo solution is to copy the trunk as a "savepoint" before staging a release. A far better option would be to have a dedicated goal for this "release:stage" :

      • same features as release:perform
      • don't remove and backups
      • requires a stagingRepository parameter, to be passed as -DaltRepoLocation to the deploy plugin
      • detect the site:deploy goal and replace it with site:stage-deploy

        Issue Links


          Mark Thomas made changes -
          Workflow jira [ 12961922 ] Default workflow, editable Closed status [ 12999144 ]
          Mark Thomas made changes -
          Project Import Mon Apr 06 00:52:26 UTC 2015 [ 1428281546237 ]
          Mark Thomas made changes -
          Workflow jira [ 12724164 ] Default workflow, editable Closed status [ 12763368 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 12:15:05 UTC 2015 [ 1428236105845 ]
          Wendy Smoak made changes -
          Link This issue is related to MRELEASE-340 [ MRELEASE-340 ]
          nicolas de loof made changes -
          Field Original Value New Value
          Assignee nicolas de loof [ ndeloof ]
          Resolution Fixed [ 1 ]
          Fix Version/s 2.0-beta-8 [ 13812 ]
          Status Open [ 1 ] Closed [ 6 ]
          nicolas de loof created issue -


            • Assignee:
              nicolas de loof
              nicolas de loof
            • Votes:
              0 Vote for this issue
              0 Start watching this issue


              • Created: