File: RELEASING.md

package info (click to toggle)
libjaxen-java 1.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,868 kB
  • sloc: java: 21,259; xml: 8,073; makefile: 2
file content (34 lines) | stat: -rw-r--r-- 1,316 bytes parent folder | download
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
Jaxen hasn't been released since Codehaus went away. A new release process that goes straight to Maven Central is in development but has not yet been tested. For now these are just notes that may or may not work.

* You will need to install GPG and set up GPG credentials
* You will need permissions on Sonatype to release jaxen.

Tagging a release. 

How to push a snapshot.


How to push a release.

In the jaxen directory:

```
$ export GPG_TTY=$(tty)
$ git checkout master
$ git pull
$ mvn install -Prelease 
_Enter your GPG password when prompted_
$ mvn deploy -Prelease -DskipRemoteStaging -DaltStagingDirectory=/tmp/jaxen-deploy -Dmaven.install.skip
$ mvn deploy -Prelease -DaltStagingDirectory=/tmp/jaxen-deploy -Dmaven.install.skip
```

If that doesn't work, try 

```
$ mvn install -Prelease -DskipTests -Dadditionalparam="-Xdoclint:none"
_Enter your GPG password when prompted_
$ mvn deploy -Prelease -DskipRemoteStaging -DskipTests -Dadditionalparam="-Xdoclint:none" -DaltStagingDirectory=/tmp/jaxen-deploy -Dmaven.install.skip
$ mvn deploy -Prelease -DskipTests -Dadditionalparam="-Xdoclint:none" -DaltStagingDirectory=/tmp/jaxen-deploy -Dmaven.install.skip
```

Once the binary is available on Maven Central, run `mvn:site` and upload the generated content to IBiblio.