incubator-clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reto Bachmann-Gmür <>
Subject Re: [VOTE] - Relase Apache Clerezza 0.2-incubating
Date Sat, 07 Jan 2012 11:22:30 GMT
This problem with the NOTICE files has been introduced by inheriting
from the apache parent. It is not related to the release plugin which
takes remote resources from jar-resource-bundle

For reasons I don't completely understand adding the the following
plugin configuration to the clerezza parent


Has the effect that the NOTICE file in the project folder is used when
available and the auto-genrated NOTICE file is only used when no
NOTICE file is in the project root.

I've committed this change and I think with that things are fixed with
reagards to NOTICE and license.

I haven't yet checked if the DISCLAIMER file has also to be added to
the binary distribution or to the jars.


On Sat, Jan 7, 2012 at 11:23 AM, Reto Bachmann-Gmür <> wrote:
> Unfortunately it didn't worked as hoped. Even if the file next to the
> pom is named "NOTICE" (rather than "NOTICE.txt") the NOTICE-file added
> to META-INF is an auo-generated one and not the one in the project.
> Reto
> On Fri, Jan 6, 2012 at 5:46 PM, Reto Bachmann-Gmür <> wrote:
>> Hi Fabian
>> Tanks for your comment.
>> I was unaware of this possibility to automatically generate NOTICE
>> files. I think thanks to this we could remove most of them. For now
>> I'll check if things work if I just rename the from NOTICE.txt but
>> leaving them in the current place.
>> Cheers,
>> Reto
>> On Fri, Jan 6, 2012 at 1:22 PM, Fabian Christ
>> <> wrote:
>>> Hi Reto,
>>> I assume that you want to add additional information to the generated
>>> NOTICE file. An example how to do this using the apache-release plugin
>>> can be found here
>>> You will find the following file:
>>> src/main/appended-resources/META-INF/NOTICE
>>> The content of this file is automatically appended (by apache-release)
>>> to the generated NOTICE file. This way you can customize the NOTICE
>>> files for each module. I think this is a generic mechanism that allows
>>> you to append additional information to any file in META-INF but I
>>> have not tested it with other files than NOTICE.
>>> Best,
>>>  - Fabian
>>> Am 6. Januar 2012 12:04 schrieb Reto Bachmann-Gmür <>:
>>>> On Wed, Jan 4, 2012 at 8:01 PM, Daniel Spicar <>
>>>>> On 3 January 2012 16:57, Reto Bachmann-Gmür <>
>>>>>> >
>>>>>> > 2) At the root, both NOTICE and NOTICE.txt are present, only
>>>>>> > should be there.
>>>>>> @daniel do you have any idea were the first comes from?
>>>>> No, I don't even see both of them in the current trunk. Did you change
>>>>> something to resolve this issue?
>>>> It seems that NOTICE.txt is added because its in our source tree and
>>>> NOTICE as per the source assembly descriptor inherited from the
>>>> parent.
>>>> Any suggestion on how to fix this? I know little about the assembly
>>>> plugin. An easy fix would be to remove NOTICE.txt or rename it to
>>>> NOTICE.
>>>> Cheers,
>>>> Reto
>>> --
>>> Fabian

View raw message