Her'es my email from the Lang release. Nowadays I use jar to build it from scratch rather than having Maven build a jar.
jar cf ../../${ARTIFACTID}-${VERSION}-bundle.jar *.jar *.pom *.asc Hen ---------- Forwarded message ---------- From: Henri Yandell <flame...@gmail.com> Date: Tue, Jul 19, 2011 at 11:04 PM Subject: Re: [RESULT] [LANG] Release Commons Lang 3.0 (based on RC4) To: Commons Developers List <dev@commons.apache.org> I think it's good in Nexus now: https://repository.apache.org/content/repositories/releases/org/apache/commons/commons-lang3/ Hopefully that means it'll be heading off to maven.central at some point. The upload is different from the documentation I was pointed to - but fairly easy once you've done it. It should be very scriptable. What I did was: svn export the code Run 'mvn source:jar javadoc:jar repository:bundle-create' Discover that that wasn't good enough as I didn't have the PGP ascs. Fair enough. Start again. Take the maven repo our current release instructions say to use. Copy *.jar, *.pom and *.asc into a directory. Go in there and zip the files up into the bundle jar. I used zip and the existing bundle jar from step 1, but there's no reason why you couldn't just make it. I doubt the manifest is important (and using jar to create the jar rather than my habit of zip would help there). Next login to Nexus and go to the Staging Upload. Choose resource bundle (ignore the pom + artifacts as that seems to get confused with poms and asc files). Add the bundle. That should work and will point you to the location in the staging repo. Go to staging and hit release. So ideally this can be pretty easy. Do the current build process. Run a script (ant, shell, whatever) to take the jar, pom and asc files and stick them in a jar. Then upload that to Nexus and hit release. Fingers crossed that I got this in the right place for this to head to the right place :) Hen --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org