commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niall Pemberton <niall.pember...@gmail.com>
Subject Re: [ALL] Binary archives without -bin incompatible with latest assembly plugin
Date Sun, 15 May 2011 23:21:35 GMT
On Sat, May 14, 2011 at 5:03 PM, sebb <sebbaz@gmail.com> wrote:
> The assembly descriptor id (e.g. <id>src</id>) is automatically
> appended to the name of the archives created by the assembly plugin.
>
> Up until version 2.2-beta-4 of the plugin, the <id> tag was allowed to
> be empty, but with 2.2 this changed [1] - the id must now be
> not-empty.
> This means that for example the binary archives will have -bin
> appended to the archive name.
>
> There is a configuration item that can be used to suppress the suffix:
>    <appendAssemblyId>false</appendAssemblyId>
> However this suppresses the suffix for both bin and src (i.e. they
> then have the same name), and it does not appear to be possible to
> suppress the suffix only for the binary archives.
>
> Therefore I think we should standardise on -bin (and -src) suffixes
> for the archives (we cannot stay on assembly 2.2-beta4 forever).
>
> This means ensuring that the appropriate property is set for the
> commons download plugin:
>
>        <commons.binary.suffix>bin</commons.binary.suffix>
>        <commons.release.2.binary.suffix>bin</commons.release.2.binary.suffix>

The default values for these in commons-parent is "-bin" - so there is
no need to set these in any component poms. The only reason these
binary suffix parameters were ever used was for pre-maven releases
that didn't have a suffix so that the download page could be correctly
generated.

Niall


> S.
>
> [1] http://maven.apache.org/plugins/maven-assembly-plugin/faq.html#required-classifiers
>
> ---------------------------------------------------------------------
> 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