-
Notifications
You must be signed in to change notification settings - Fork 2
/
RELEASE
41 lines (28 loc) · 1017 Bytes
/
RELEASE
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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 paxscanner
If you have all required rights to release pax-scanner follow these steps:
1) add this into your ~/.m2/settings.xml
{code}
<profile>
<id>release</id>
<properties>
<gpg.passphrase>gpgpassphrase</gpg.passphrase>
<release-paxscanner-altGitURL>scm:git:file:///path/to/local/repo/org.ops4j.pax.scanner</release-paxscanner-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
{code}
4) push to github:
{code}
git push
git push --tags
{code}
5) go to oss.sonatype.org and push pax-scanner to central