Simplified release process with master 4.0.0

3 views
Skip to first unread message

Harald Wellmann

unread,
Oct 11, 2014, 2:23:03 PM10/11/14
to ops4j...@googlegroups.com
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


Ioan Eugen Stan

unread,
Oct 11, 2014, 5:15:16 PM10/11/14
to ops4j...@googlegroups.com
Great. I was looking on how to make a release in ops4j.

Thanks,
> --
> You received this message because you are subscribed to the Google Groups
> "OPS4J Infrastructure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ops4j-infra...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
Ioan Eugen Stan
0720 898 747

Achim Nierbeck

unread,
Oct 12, 2014, 3:11:03 AM10/12/14
to ops4j...@googlegroups.com
Great, I will try to update pax-web as soon as possible for this. 

regards, Achim 

Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead
blog <http://notizblog.nierbeck.de/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>

Software Architect / Project Manager / Scrum Master 

Reply all
Reply to author
Forward
0 new messages