Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

0

Delete the struts2 items in your local Maven2 repository and obtain a fresh checkout.

Code Block
svn co https://svn.apache.org/repos/asf/struts/struts2/trunk STRUTS_#_#_#

1

Update the POMs to remove "-SNAPSHOT" from the version

2

Commit the POM changes and note the revision number

3

Tag the release by making a SVN copy of the head or designated revision

 

Code Block
svn copy -r ###### 
  https://svn.apache.org/repos/asf/struts/struts2/trunk 
  https://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_#_#_# 
  -m "WW-#### Tag r###### as Struts #.#.#" 

4

Assemble the release (see notes)

 

Code Block
mvn clean install site -P all,alljars,pre-assembly
cd assembly 
mvn clean assembly:assembly
  • The assembly module is not listed in the 'all' profile, so it does not get cleaned on line 1 above.
  • From a clean Subversion checkout against a clean Maven repository, you may need to build the plugins first so that they exist in your working repository.

5

Under CygWin or Linux, sign the Maven artifacts (in assembly/target/assembly/out)

 

Code Block
mvn -P release,all -Dpassphrase="$PASSPHRASE"

6

Deploy the Maven artifacts to the staging repository

 

Make sure the staging repository at {{

http://people.apache.org/builds/struts/m2-staging-repository

}} is absent or empty, then:

Code Block
mvn deploy -P all,pre-assembly 

7

Sign the Maven artifacts (in assembly/target/assembly/out)

 

Under CygWin, use the $ mount command to check your drive and path mappings

 

Code Block
gpg --armor --output struts-#.#.#-all.zip.asc --detach-sig struts-#.#.#-all.zip 
openssl md5 < struts-#.#.#-all.zip > struts-#.#.#-all.zip.mdr

8

pscp or scp the artifacts and signatures to people.apache.org:/www/people.apache.org/builds/struts/#.#.# and update the download page

9

Update your usual working copy, change the POMs to next version number, add the "-SNAPSHOT" suffix

10

Commit the POM changes

11

Deploy the new snapshot

 

Code Block
mvn -N install

12

Add the next version to our issue tracker for scheduling new features and fixes

13

If the distribution is being mirrored, copy the ZIPs to /www/www.apache.org/dist/struts, wait 24 hours, and then update the download.xml page.

...