Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Struts Wiki" for change 
notification.

The following page has been changed by WendySmoak:
http://wiki.apache.org/struts/StrutsMavenRelease

------------------------------------------------------------------------------
  = Struts Maven 2 Release Process =
  
- == 1. Releasing Struts Action ==
+ == 1. Releasing Struts Action 1 ==
  
   1. Create the new directory on cvs.apache.org, for example 
cvs.apache.org/dist/struts/action/v1.3.x (no, don't actually use 'x')
   1. Ensure that your settings.xml contains a <server> for 
apache-maven-test-builds (see the Suggested Settings section on 
StrutsMaintenanceMaven)
   1. Clear out your local Maven repo
-  1. Build all jar and war artifacts, including -sources and -javadoc, 
+  1. Build, test and deploy all jar and war artifacts, including -sources and 
-javadoc.
-   11. verifiy war files
-     111. cd to {your struts checkout}/action/integration/apps-it
-     111. run $mvn -P perform-itest
-   11. deploy them to maven-snapshot-repository.
   1. Build and deploy the website
   1. Create the assembly and upload it to cvs.apache.org/dist
-  1. Make sure that everything under 
maven-snapshot-repository/org/apache/struts is group writeable
+  1. Make sure that everything under 
maven-snapshot-repository/org/apache/struts/ and 
www/struts.apache.org/struts-action is group writeable
-  1. Create and upload signatures for all .jar and .pom files in 
maven-snapshot-repository, and the .zip, and .tar.gz files.
+  1. Create and upload signatures for all .jar and .pom files in 
maven-snapshot-repository, and the .zip assembly file.
  
  {{{
+     ~/svn/struts/current/action
-     rm -rf $M2_REPO/org/apache/struts/action
+     $ rm -rf $M2_REPO/org/apache/struts/action
-     mvn deploy -P pre-assembly
+     $ mvn deploy -P pre-assembly,perform-itest
          {about 20 minutes later...}
-     mvn site site:deploy
+     $ mvn site site:deploy
-         {may have to deploy the site for each module individually}
-     cd assembly
+     $ cd assembly
-     mvn assembly:assembly
+     $ mvn assembly:assembly
-     scp target/assembly/out/* 
people.apache.org:/www/cvs.apache.org/dist/struts/action/v1.3.x
+     $ scp target/assembly/out/* 
people.apache.org:/www/cvs.apache.org/dist/struts/action/v1.3.x
  }}}
  
  == 2. Releasing the struts-parent pom ==
  
-  1. Update the version number in pom/pom.xml (remove -SNAPSHOT) and commit 
changes
+  1. Update the version number in maven/pom/pom.xml (remove -SNAPSHOT) and 
commit changes
   1. Post release vote on dev@
   1. 'mvn deploy' to deploy to dist/maven-repository
   1. Upload a signature for the deployed pom

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to