maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rfscho...@apache.org
Subject svn commit: r1498187 - in /maven/enforcer/trunk: README.TXT pom.xml
Date Sun, 30 Jun 2013 21:45:34 GMT
Author: rfscholte
Date: Sun Jun 30 21:45:33 2013
New Revision: 1498187

URL: http://svn.apache.org/r1498187
Log:
Add site-release profile + README.txt for the next release manager

Added:
    maven/enforcer/trunk/README.TXT
Modified:
    maven/enforcer/trunk/pom.xml

Added: maven/enforcer/trunk/README.TXT
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/README.TXT?rev=1498187&view=auto
==============================================================================
--- maven/enforcer/trunk/README.TXT (added)
+++ maven/enforcer/trunk/README.TXT Sun Jun 30 21:45:33 2013
@@ -0,0 +1,24 @@
+Deploying web site
+-------------------
+You can use the deploySite(.sh|.bat) script
+Without any profile, the site will be deployed to http://maven.apache.org/enforcer-archives/enforcer-${project.version}
+sh ./deploySite.sh -Preporting
+
+To deploy main version http://maven.apache.org/maven-release, use
+sh ./deploySite.sh -Preporting -Psite-release
+
+Note you can add arguments to the script to pass your svn credentials:
+-Dusername=
+-Dpassword=
+
+Workflow for site when releasing
+--------------------------------
+Once release staged, you can publish a staged site.
+cd target/checkout
+sh ./deploySite.sh -Preporting
+content will be in http://maven.apache.org/maven-release-archives/maven-release-${project.version}
+
+Once vote passed, redeploy main site:
+cd target/checkout (or use the version tag)
+sh ./deploySite.sh -Preporting -Psite-release
+

Modified: maven/enforcer/trunk/pom.xml
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/pom.xml?rev=1498187&r1=1498186&r2=1498187&view=diff
==============================================================================
--- maven/enforcer/trunk/pom.xml (original)
+++ maven/enforcer/trunk/pom.xml Sun Jun 30 21:45:33 2013
@@ -279,4 +279,13 @@
     </plugins>
   </reporting>
 
+  <profiles>
+    <profile>
+      <id>site-release</id>
+      <properties>
+        <maven.site.path>${project.artifactId}</maven.site.path>
+      </properties>
+    </profile>
+  </profiles>
+
 </project>



Mime
View raw message