Skip to content

Commit

Permalink
added release description
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Pieber <[email protected]>
  • Loading branch information
anpieber committed Mar 1, 2011
1 parent ee0bff9 commit 53e5ee6
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions RELEASE
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
h1. Prerequisites

The release works either with the latest maven2 release (2.2.1) or the latest maven3 release (3.0.3). Lower version numbers can (and will) cause troubles!

h1. Release paxexam

If you have all required rights to release pax-exam follow these steps:

1) add this into your ~/.m2/settings.xml

{code}
<profile>
<id>release</id>
<properties>
<gpg.passphrase>gpgpassphrase</gpg.passphrase>
<release-paxexam-altGitURL>scm:git:file:///path/to/local/repo/org.ops4j.pax.exam</release-paxexam-altGitURL>
</properties>
</profile>
{code}

2) prepare the release:

{code}
mvn -Prelease,repos.sonatype.staging -Darguments="-Prelease,repos.sonatype.staging" release:prepare -DautoVersionSubmodules=true
{code}

3) perform the release (this fails):

{code}
mvn -Prelease,repos.sonatype.staging -Darguments="-Prelease,repos.sonatype.staging" release:perform
.... auth failure in site:deploy ...
{code}

4) go into the checkout directory:

{code}
cd target/checkout
{code}

5) push to oss.sonatype.org:

{code}
mvn -Prelease,repos.sonatype.staging source:jar javadoc:jar deploy
{code}

6) push to github:

{code}
git push
{code}

8) go to oss.sonatype.org and push pax-exam to central

0 comments on commit 53e5ee6

Please sign in to comment.