Sonatype updated their Maven Central user guide [1] a while ago, so I've
looked at the changes and adapted our master POM.
mvn release:perform now automatically closes the staging repository, you
no longer need to login to OSS Nexus.
To release the staging repository:
cd target/checkout
mvn nexus-staging:release.
The nexus-staging plugin uses a server ID of ossrh, so you need to
include something like
<server>
<id>ossrh</id>
<username>myaccount</username>
<password>mypassword</password>
</server>
in your ~/.m2/settings.xml
I've updated our docs to reflect these changes:
https://ops4j1.jira.com/wiki/display/ops4j/Releasing
Regarding tests, it's a bit of a chicken and egg thing, but after using
the new master POM to release itself and staging Pax Tinybundles with
it, I hope it will work for everyone.
[1]
http://central.sonatype.org/pages/apache-maven.html
Regards,
Harald