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 Mon, 16 May 2011 00:27:49 GMT
On 16 May 2011 00:21, Niall Pemberton <niall.pemberton@gmail.com> wrote:
> 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.

Ah, I understand now. I'd not noticed that these were overriding the
parent parameters.

I can therefore remove

<commons.binary.suffix>

from Commons Net. The other will have to remain as the 1.4.1 archives
don't have the -bin suffix.

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


Mime
View raw message