Releasing a Maven plugin is much the same as any other Maven project. The following guide walks through most of the steps:
Note that plugins 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 plugin parent POM is configured to stage the documentation in a "versioned" directory such as /plugins-archives/maven-XXX-plugin-Y.Z.
Stage the documentation for the current release version (not the new snapshot).
cd target/checkout mvn site-deploy -Preporting
Note: You should verify the deployment of the site on the Maven website.
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
An other (faster) way:
svn rm https://svn.apache.org/repos/infra/websites/production/maven/content/plugins/maven-XXX-plugin svn cp https://svn.apache.org/repos/infra/websites/production/maven/content/plugins-archives/maven-XXX-plugin-Y.Z \ https://svn.apache.org/repos/infra/websites/production/maven/content/plugins/maven-XXX-plugin
To review the site, wait for the files to arrive at
Update the version number for the plugin on the content/apt/plugins/index.apt page.