On 2012-06-04 11:53, Damjan Jovanovic wrote: > On Sun, Jun 3, 2012 at 7:07 PM, Oliver Heger > <oliver.he...@oliver-heger.de> wrote: >> Am 03.06.2012 15:56, schrieb Gary Gregory: >> >>> I use http://wiki.apache.org/commons/UsingNexus >>> >>> Gary >>> >>> On Jun 3, 2012, at 4:25, Damjan Jovanovic<dam...@apache.org> wrote: >>> >>>> Hi >>>> >>>> I am trying to make an RC release of Commons Imaging, and according to >>>> http://commons.apache.org/releases/prepare.html the command which is >>>> meant to generate the release artifacts is: >>>> mvn -Prc -DcreateChecksum=true install >>>> >>>> However this only generates .jar/javadoc.jar/sources.jar files, not >>>> the bin/src .zip, .tar.gz or .tar.bz2. >>>> >>>> I've tried it on several other Commons projects: >>>> csv - command fails because assembly descriptors are missing >>>> configuration - also only generates .jar files >>>> net - also only generates .jar files >>>> >>>> Is that web page wrong? Is there some other command that is meant to >>>> be used? Or is there some kind of problem in all these projects? >> >> >> For [configuration] I used to follow the instructions on this page. The full >> distribution is created by the shell script in the section "Create the >> Release Candidate Website". This worked for me. >> >> Oliver >> > > The command "mvn -Prc -DcreateChecksum=true install" is taken verbatim > from that very "Create the Release Candidate Website" page, and > neither it, nor that entire script, are working, for either Imaging or > Configuration from the latest SVN trunk. > > According to http://www.mail-archive.com/dev@commons.apache.org/msg23476.html > this is a known regression in the maven-assembly-plugin. > A bit of searching finds http://jira.codehaus.org/browse/MASSEMBLY-553 > which appears to be the problem.
I've had another look at this and have fixed the problem in the trunk of commons-parent. > Workaround (taken from > http://svn.apache.org/viewvc/commons/proper/pool/trunk/pom.xml?revision=1169875&view=markup): > > <build> > <pluginManagement> > <plugins> > <plugin> > <artifactId>maven-assembly-plugin</artifactId> > <version>2.2-beta-5</version> > </plugin> > </plugins> > </pluginManagement> > </build> > > Please add that to the website (or how can I add it?). Also if Plexus > is the current official way of releasing Commons components, why isn't > that documented? > > This is now the 3rd build-breaking bug in Maven plugins I've found in > my casual usage... This one was not a Maven plugin bug. The intended behavior deliberately changed in version 2.2 of the plugin in question. Unfortunately this was change was not advertised enough. > Thank you > Damjan > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > -- Dennis Lundberg --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org