|h2. New Nexus Release Guidelines |
|Follow the new [Apache Release process for Nexus|http://maven.apache.org/developers/release/apache-release.html], which all projects must use moving forward. These steps apply to a given project if: |
# It uses Genesis 2.x as a parent POM
# It uses the following for the Snapshot and Release repos in distributionManagement -
For additional details on the Nexus repo changes, take a look at the doc links in the following JIRA, until we have a new process documented -
h3. Special instructions for releasing the Server (used on Geronimo 2.2)
Run the normal release plugin steps, but with the following additional profiles:
mvn release:prepare -Pall-subprojects -Papache-release -Dtest=false
mvn release:perform -Pall-subprojects -Papache-release -Dtest=false
h4. Preparation and discussion
We have a lot of server bits that don't normally get run in a build and shouldn't be released. These are typically integration tests or test servers for plugins. All these projects have to be built during the release so the versions get updated properly. Since mistakes here won't cause build problems except during releases, you have to check carefully that all projects are built in the all-subprojects profile. Note that integration tests are often run from non-pom packaging projects so you have to add such projects as modules to the closest parent project that is pom packaging.
When I tried it the versions plugin did not successfully update all the child projects in testsuite, I had to actually run the release process to determine if all modules were getting their versions updated.
Many projects such as integration tests, test servers, and the testsuite should not get deployed. You can arrange this by including this configuration in the topmost pom that should not be deployed:
|h3. Special instructions for releasing the Server 2.1.5 |
The following Geronimo projects use the pre-Nexus release guidelines: