Skip to content

Commit

Permalink
link to confluence page about release process
Browse files Browse the repository at this point in the history
  • Loading branch information
hwellmann committed Dec 10, 2011
1 parent 0dc688a commit 4aceae2
Showing 1 changed file with 1 addition and 51 deletions.
52 changes: 1 addition & 51 deletions RELEASE
Original file line number Diff line number Diff line change
@@ -1,53 +1,3 @@
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 paxrunner

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

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

{code}
<profile>
<id>release</id>
<properties>
<gpg.passphrase>gpgpassphrase</gpg.passphrase>
<release-paxrunner-altGitURL>scm:git:file:///path/to/local/repo/org.ops4j.pax.runner</release-paxrunner-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-runner to central

See http://team.ops4j.org/wiki/display/ops4j/Releasing for details about the release process.

0 comments on commit 4aceae2

Please sign in to comment.