Releasing a Maven component is much the same as any other Maven project. The following guide walks through most of the steps:
Note that components have particular conventions for deploying the project site. When encountered in the release process above, perform the following steps:
Once the release is prepared, but before the release vote, the site needs to be staged.
The shared component parent POM is configured to stage the documentation in a "versioned" directory such as /shared-archives/maven-XXX-Y.Z.
cd target/checkout mvn site site-deploy -Preporting
deployed to http://maven.apache.org/shared-archives/maven-XXX-Y.Z/
After the release has passed, the site needs to be uploaded.
Note: Be sure to generate and deploy the site using the same version of the release. Typically, you need to check out the tag (or go to target/checkout)
cd target/checkout mvn site-deploy -Preporting -Psite-release
svn rm https://svn.apache.org/repos/infra/websites/production/maven/content/shared/maven-XXX svn cp https://svn.apache.org/repos/infra/websites/production/maven/content/shared-archives/maven-XXX-Y.Z \ https://svn.apache.org/repos/infra/websites/production/maven/content/shared/maven-XXX
To review the site, wait for the files to arrive at