-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Andreas Pieber <[email protected]>
- Loading branch information
Showing
1 changed file
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|