commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil Steitz <phil.ste...@gmail.com>
Subject Re: [compress] Creating Distribution Tarballs
Date Thu, 28 Jul 2011 05:25:27 GMT
On 7/27/11 9:56 PM, Stefan Bodewig wrote:
> Hi all,
>
> at least for Compress "mvn -Prc package" (or any variation I have tried)
> does not create the tarballs/zips and for the last two RCs I've created
> them manually with assembly:single and a bash one-liner to create the
> checksums/PGP sigs.
>
> Am I doing anything wrong or is there anything wrong in Compress' POM?

Its the Commons parent pom that is broken.  More specifically the
version of the assembly plugin that it brings in.  If you want to
get the artifacts generated in the same build that builds and
locally installs the jars, you need to back rev the assembly plugin
in the pom and adjust the assembly descriptors to work with the
older version.  Look at [pool] as an example if you want to do this.

Alternatively, if you are doing the maven artifact stuff separately
and you are OK creating sigs, hashes yourself, you can just use

mvn assembly:assembly

and that will create just the release distros in /target.

Phil



Try
mvn -Prc -DcreateChecksum=true install

There is a script in the section titled "Creating the release
candidate website" at [1] that should work for the actual release.

[1] mvn -Prc -DcreateChecksum=true install
>
> Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message