...
(There are also one-time setup instructions)
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 "Tag r###### as Struts #.#.#" |
|
4 | Assemble the release (see notes) |
---|
| Code Block |
---|
mvn clean install site -P all,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 | Sign the release artifacts (in assembly/target/assembly/out ) |
---|
| Code Block |
---|
gpgmvn --armor --output struts-#.#.#-all.zip.asc --detach-sig struts-#.#.#-all.zip
openssl md5 < struts-#.#.#-all.zip > struts-#.#.#-all.zip.mdrP release,all -D$passphrase |
|
| Under CygWin, use the $ mount command to check your drive and path mappings |
6 | pscp the artifacts and signatures to people.apache.org:/www/people.apache.org/builds/struts/#.#.# and update the download page |
---|
7 | Deploy the 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 release -P all
mvn deploy -P all,pre-assembly |
|
8 | Update the POMs to next version number and add the "-SNAPSHOT" suffix |
---|
9 | Commit the POM changes |
---|
10 | Deploy the new snapshot |
---|
| |
11 | Add the next version to our issue tracker for scheduling new features and fixes |
---|
12 | 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. |
---|
...