You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2012/08/21 00:06:44 UTC
svn commit: r1375279 -
/maven/site/branches/INFRA-4466/trunk/content/apt/developers/release/maven-plugin-release.apt
Author: hboutemy
Date: Mon Aug 20 22:06:44 2012
New Revision: 1375279
URL: http://svn.apache.org/viewvc?rev=1375279&view=rev
Log:
simplify staging step: the staging happens in *-staging directory, the version *-Y.Z directory can be created during release publication
Modified:
maven/site/branches/INFRA-4466/trunk/content/apt/developers/release/maven-plugin-release.apt
Modified: maven/site/branches/INFRA-4466/trunk/content/apt/developers/release/maven-plugin-release.apt
URL: http://svn.apache.org/viewvc/maven/site/branches/INFRA-4466/trunk/content/apt/developers/release/maven-plugin-release.apt?rev=1375279&r1=1375278&r2=1375279&view=diff
==============================================================================
--- maven/site/branches/INFRA-4466/trunk/content/apt/developers/release/maven-plugin-release.apt (original)
+++ maven/site/branches/INFRA-4466/trunk/content/apt/developers/release/maven-plugin-release.apt Mon Aug 20 22:06:44 2012
@@ -41,31 +41,37 @@ Releasing A Maven Plugin
The plugin parent POM will be configured (TODO) to publish the documentation in Apache svn
https://svn.apache.org/repos/infra/websites/production/maventest/content/plugins/maven-XXX-plugin-latest.
- [[1]] Stage the documentation for the current release version (not the new snapshot).
+ Stage the documentation for the current release version (not the new snapshot).
+------+
cd target/checkout
mvn -Preporting site site:stage scm-publish:publish-scm \
- -Dscmpublish.pubScmUrl=scm:svn:https://svn.apache.org/repos/infra/websites/production/maventest/content/plugins/maven-XXX-plugin-latest
-
-svn cp https://svn.apache.org/repos/infra/websites/production/maventest/content/plugins/maven-XXX-plugin-latest \
- https://svn.apache.org/repos/infra/websites/production/maventest/content/plugins/maven-XXX-plugin-Y.Z
+ -Dscmpublish.pubScmUrl=scm:svn:https://svn.apache.org/repos/infra/websites/production/maventest/content/plugins/maven-XXX-plugin-staging
+------+
<<Note:>> You should verify the deployment of the site on the Maven website
(you need to wait {{{http://www.apache.org/dev/cms.html#svnpubsub}snvpubsub}}), which should be a matter of seconds.
+-----+
-http://maven.apache.org/plugins/maven-XXX-plugin-Y.Z/
+http://maven.apache.org/plugins/maven-XXX-plugin-staging/
+-----+
- [[2]] declare the <<<plugins/maven-XXX-plugin-Y.Z>>> directory in {{{/extpaths.txt}extpaths.txt}}, locally or
+* Publishing the release website
+
+ After the release has passed, the site needs to be updated:
+
+ [[1]] cut the new release
++------+
+svn cp https://svn.apache.org/repos/infra/websites/production/maventest/content/plugins/maven-XXX-plugin-staging \
+ https://svn.apache.org/repos/infra/websites/production/maventest/content/plugins/maven-XXX-plugin-Y.Z
++------+
+
+ [[2]] declare the <<<plugins/maven-XXX-plugin-Y.Z>>> directory in {{{/extpaths.txt}extpaths.txt}}, locally or
{{{https://cms.apache.org/redirect?uri=http://maventest.apache.org/extpaths.txt&action=edit}with the CMS}}.
-* Publishing the release website
- After the release has passed, the site needs to be updated to point to the new release: edit the content/filtered-resources/.htaccess file
+ [[3]] edit the content/filtered-resources/.htaccess file
(locally or
{{{https://cms.apache.org/redirect?uri=http://maventest.apache.org/filtered-resources/.htaccess&action=edit}with the CMS}}) to update rewrite rule