commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: [ALL] Binary archives without -bin incompatible with latest assembly plugin
Date Sat, 14 May 2011 16:08:06 GMT
On 14 May 2011 17:03, 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>

Sorry, that should be:

        <commons.binary.suffix>-bin</commons.binary.suffix>
        <commons.release.2.binary.suffix>-bin</commons.release.2.binary.suffix>

> 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


Mime
View raw message