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 TedHusted: http://wiki.apache.org/struts/StrutsMavenRelease The comment on the change is: Update notes to use revision to tag repository ------------------------------------------------------------------------------ == 1. Releasing Struts 1 == + ''The sample code uses Struts 1.3.5. For a subsequent release, substitute the approriate version number.'' - 1. Create the new directory on people.apache.org, for example people.apache.org/dist/struts/v1.3.x (no, don't actually use 'x') - 1. Ensure that your settings.xml contains a <server> for apache.snapshots (see the Suggested Settings section on StrutsMaintenanceMaven) - 1. Clear out your local Maven repo - 1. Build and test all jar and war artifacts. Build and deploy the website. - 1. Build and deploy (jars and poms only) to the snapshot/test build repo. - 1. Create the assembly and upload it to people.apache.org/dist - 1. Make sure that everything under maven-snapshot-repository/org/apache/struts/ and www/struts.apache.org/struts1.x is group writeable - 1. Create and upload signatures for all .jar and .pom files in maven-snapshot-repository, and the .zip assembly files. {{{ - ~/svn/struts/STRUTS_1_3_X + $ svn co -r 422607 https://svn.apache.org/repos/asf/struts/struts1/trunk STRUTS1_422607 + $ cd STRUTS1_422607 $ rm -rf $M2_REPO/org/apache/struts $ mvn install site site:deploy -P apps,itest $ mvn deploy -P pre-assembly $ cd assembly $ mvn assembly:assembly - $ scp target/assembly/out/* people.apache.org:/www/people.apache.org/dist/struts/v1.3.x + $ scp target/assembly/out/* people.apache.org:/www/people.apache.org/dist/struts/v1.3.5 + $ svn copy https://svn.apache.org/repos/asf/struts/struts1/trunk https://svn.apache.org/repos/asf/struts/struts1/tags/STRUTS_1_3_5 -r 422607 -m "Tagged Struts 1.3.5 at revision 422607" + $ cd ../../ + $ svn co https://svn.apache.org/repos/asf/struts/struts1/tags/STRUTS_1_3_5 }}} + + 1. Ensure that your settings.xml contains a <server> for apache.snapshots (see the Suggested Settings section on StrutsMaintenanceMaven) + 1. Create the new directory on people.apache.org:/www/people.apache.org/builds/struts + 1. Obtain a fresh checkout of the revision to release. (See sample code line 1.) + 1. Clear out your local org/apache/struts Maven repositiory. + 1. Build and test all jar and war artifacts. Build and deploy the website. + 1. Build and deploy (jars and poms only) to the snapshot/test build repository. + 1. Create the assembly and upload it to people.apache.org/builds/struts/ (Lines 5-7.) + 1. Tag the revision from step 2 + 1. Obtain a clean checkout of the tag. Confirm that SVN revision numbers in pom.xml's match. + 1. Ensure that everything under maven-snapshot-repository/org/apache/struts/ and www/struts.apache.org/struts/1.x is group writeable. + 1. Create and upload signatures for all .jar and .pom files in maven-snapshot-repository, and the .zip assembly files. == 2. Releasing the struts-parent pom ==