------ Prepare a release ------ Edwin Punzalan ------ January 05, 2007 ~~ Licensed to the Apache Software Foundation (ASF) under one ~~ or more contributor license agreements. See the NOTICE file ~~ distributed with this work for additional information ~~ regarding copyright ownership. The ASF licenses this file ~~ to you under the Apache License, Version 2.0 (the ~~ "License"); you may not use this file except in compliance ~~ with the License. You may obtain a copy of the License at ~~ ~~ http://www.apache.org/licenses/LICENSE-2.0 ~~ ~~ Unless required by applicable law or agreed to in writing, ~~ software distributed under the License is distributed on an ~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY ~~ KIND, either express or implied. See the License for the ~~ specific language governing permissions and limitations ~~ under the License. Rollback a release To rollback a release, the following requirements should be met: * You haven't ran <> on the project so that the backup files and the release descriptor of the previous still exists. When a release is rolled back, the following are executed: * All project POMs are reverted back to their pre-release state locally and also in the SCM if the previous release command was able to successfully make changes in the SCM to the POMs using a backup created during <>. * The created branch/tag in SCM for the release is removed. <> To execute this step, run: ------- mvn release:rollback ------- <> If an error occurs, or the process is cancelled, then running this command again will pick up from where the last one left off.