Wiki Markup |
---|
{scrollbar} |
New Nexus Release Guidelines
Follow the new Apache Release process for Nexus, 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 -
- apache.releases.https
- https://repository.apache.org/
For additional details on the Nexus repo changes, take a For now, please look at the doc links in the following JIRA, until we have a new process documented -
INFRA-1896
Special instructions for releasing the
...
Server (used on
...
Geronimo 2.2
...
)
Overview
Run the normal release plugin steps, but with the following additional profiles:
No Format |
---|
mvn |
overview
run
...
release:prepare -Pall-subprojects -Papache-release -Dtests=false |
...
mvn release:perform -Pall-subprojects -Papache-release -Dtests=false |
...
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.
...
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
in build/plugins.
Old Geronimo Projects
The following Geronimo projects use the pre-Nexus release guidelines:
...