Apache

Specimen. A proposed redesign of maven.apache.org, built with mvn site and a skin of its own; not the official Apache Maven site. The official site is maven.apache.org. About this example

Community Release Apache Maven components

Holds for
Not yet checked against Maven 3.9, 3.10 and 4.0
Source
Edit this page
Wrong?
Report a problem

Releasing A Parent POM

Releasing a Parent POM is much the same as any other Maven project. The following guide walks through most of the steps:

Note that Parent POMs have particular conventions for managing and deploying the documentation.

Rationale

To be able to publish a documentation for the parent POM without affecting released pom.xml and site.xml, parent POM projects have a specific module, with the documentations docs.

Stage the release

Then the only difference is with commands to stage the site:

In Maven Apache Parent POM:

cd target/checkout
mvn -f docs site
mvn -f docs scm-publish:publish-scm

In Maven Projects Parent POM:

cd target/checkout
mvn -f docs site site:stage
mvn -f docs scm-publish:publish-scm

Call the vote

In the vote, additional to providing links to GitHub release, the parent POMs should include a link to the Git changes since the last release:

Hi,

Changes since the last release:
for Maven Apache Parent POM:
https://github.com/apache/maven-apache-parent/compare/apache-<VERSION-OF-PREVIOUS-RELEASE>...apache-<VERSION-OF-CURRENT-RELEASE>

or for Maven Projects Parent POM:
https://github.com/apache/maven-parent/compare/maven-parent-<VERSION-OF-PREVIOUS-RELEASE>...maven-parent-<VERSION-OF-CURRENT-RELEASE>

Staging repo:
...