You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by dk...@apache.org on 2013/07/08 16:18:28 UTC
svn commit: r1500748 -
/sling/site/trunk/content/documentation/development/release-management.mdtext
Author: dklco
Date: Mon Jul 8 14:18:28 2013
New Revision: 1500748
URL: http://svn.apache.org/r1500748
Log:
Fixed issues with the code formatting disappearing
Modified:
sling/site/trunk/content/documentation/development/release-management.mdtext
Modified: sling/site/trunk/content/documentation/development/release-management.mdtext
URL: http://svn.apache.org/viewvc/sling/site/trunk/content/documentation/development/release-management.mdtext?rev=1500748&r1=1500747&r2=1500748&view=diff
==============================================================================
--- sling/site/trunk/content/documentation/development/release-management.mdtext (original)
+++ sling/site/trunk/content/documentation/development/release-management.mdtext Mon Jul 8 14:18:28 2013
@@ -53,24 +53,32 @@ First prepare your POMs for release:
1. Make sure there are no snapshots in the POMs to be released
1. Check that your POMs will not lose content when they are rewritten during the release process
+
$ mvn release:prepare -DdryRun=true
+
Compare the original `pom.xml` with the one called `pom.xml.tag` to see if the license or any other info has been removed. This has been known to happen if the starting `<project>` tag is not on a single line. The only things that should be different between these files are the `<version>` and `<scm>` elements. If there are any other changes, you must fix the original `pom.xml` file and commit before proceeding with the release.
1. Publish a snapshot
+
$ mvn deploy
...
[INFO] [deploy:deploy]
[INFO] Retrieving previous build number from apache.snapshots.https
...
+
* If you experience an error during deployment like a HTTP 401 check your settings for the required server entries as outlined in the *Prerequisites*
* Make sure the generated artifacts respect the Apache release [rules](http://www.apache.org/dev/release.html): NOTICE and LICENSE files should be present in the META-INF directory within the jar. For \-sources artifacts, be sure that your POM does not use the maven-source-plugin:2.0.3 which is broken. The recommended version at this time is 2.0.4
* You should verify the deployment under the [snapshot](https://repository.apache.org/content/groups/snapshots/org/apache/sling) repository on Apache
1. Prepare the release
+
$ mvn release:clean
$ mvn release:prepare
+
* Preparing the release will create the new tag in SVN, automatically checking in on your behalf
* If you get a build failure because of an SVN commit problem (namely *The specified baseline is not the latest baseline, so it may not be checked out.*), just repeat the `mvn release:prepare` command until SVN is happy. This is based on a known timing issue when using the European SVN mirror.
1. Stage the release for a vote
+
$ mvn release:perform
+
* The release will automatically be inserted into a temporary staging repository for you, see the Nexus [staging documentation](http://www.sonatype.com/books/nexus-book/reference/staging.html) for full details
* You can continue to use `mvn release:prepare` and `mvn release:perform` on other sub-projects as necessary on the same machine and they will be combined in the same staging repository - this is useful when making a release of multiple Sling modules.
1. Close the staging repository: