You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Jeremy Boynes <jb...@apache.org> on 2006/06/08 21:57:19 UTC

Re: [jira] Created: (MJAR-42) Add LICENCE and NOTICE files to the jar

Any comments on this issue or patch? Is it possible to have it applied?
Thanks
--
Jeremy

Jeremy Boynes (JIRA) wrote:
> Add LICENCE and NOTICE files to the jar
> ---------------------------------------
> 
>          Key: MJAR-42
>          URL: http://jira.codehaus.org/browse/MJAR-42
>      Project: Maven 2.x Jar Plugin
>         Type: Improvement
> 
>     Versions: 2.1    
>     Reporter: Jeremy Boynes
>  Attachments: mvn-jar-patch.txt
> 
> Patch attached that adds project LICENSE and NOTICE files into the
> output jar. By default it will add LICENSE.txt and NOTICE.txt files
> from the project's basedir (if they are present) into the META-INF
> directory of the jar.
> 


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


Re: [jira] Created: (MJAR-42) Add LICENCE and NOTICE files to the jar

Posted by Jeremy Boynes <jb...@apache.org>.
David Jencks wrote:
> 
> On Jun 8, 2006, at 12:57 PM, Jeremy Boynes wrote:
> 
>> Any comments on this issue or patch? Is it possible to have it  applied?
> 
> 
> Doesn't the lack of this functionality pretty much preclude  the use  of
> m2 to build jars that can be released by apache?  Maybe I don't 
> understand the issues but I don't see how we can completely switch 
> geronimo to m2 without this.
> 

We did it by adding the files to META-INF in src/main/resources but it
was a PITA doing it for each module.

--
Jeremy

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


Re: [jira] Created: (MJAR-42) Add LICENCE and NOTICE files to the jar

Posted by Dennis Lundberg <de...@apache.org>.
David Jencks wrote:
> 
> On Jun 8, 2006, at 12:57 PM, Jeremy Boynes wrote:
> 
>> Any comments on this issue or patch? Is it possible to have it applied?
> 
> Doesn't the lack of this functionality pretty much preclude  the use of 
> m2 to build jars that can be released by apache?  Maybe I don't 
> understand the issues but I don't see how we can completely switch 
> geronimo to m2 without this.
> 
> thanks
> david jencks

This is something that we need over at Jakarta Commons as well, to be 
able to switch to Maven 2.

-- 
Dennis Lundberg

</snip>

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


Re: [jira] Created: (MJAR-42) Add LICENCE and NOTICE files to the jar

Posted by David Jencks <da...@yahoo.com>.
On Jun 8, 2006, at 12:57 PM, Jeremy Boynes wrote:

> Any comments on this issue or patch? Is it possible to have it  
> applied?

Doesn't the lack of this functionality pretty much preclude  the use  
of m2 to build jars that can be released by apache?  Maybe I don't  
understand the issues but I don't see how we can completely switch  
geronimo to m2 without this.

thanks
david jencks
> Thanks
> --
> Jeremy
>
> Jeremy Boynes (JIRA) wrote:
>> Add LICENCE and NOTICE files to the jar
>> ---------------------------------------
>>
>>          Key: MJAR-42
>>          URL: http://jira.codehaus.org/browse/MJAR-42
>>      Project: Maven 2.x Jar Plugin
>>         Type: Improvement
>>
>>     Versions: 2.1
>>     Reporter: Jeremy Boynes
>>  Attachments: mvn-jar-patch.txt
>>
>> Patch attached that adds project LICENSE and NOTICE files into the
>> output jar. By default it will add LICENSE.txt and NOTICE.txt files
>> from the project's basedir (if they are present) into the META-INF
>> directory of the jar.
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>


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


Re: [jira] Created: (MJAR-42) Add LICENCE and NOTICE files to the jar

Posted by Brett Porter <br...@apache.org>.
Isn't a better workaround just to use the resources mechanism until 
something more flexible is in place?

Jeremy Boynes wrote:
> Any comments on this issue or patch? Is it possible to have it applied?
> Thanks
> --
> Jeremy
> 
> Jeremy Boynes (JIRA) wrote:
>> Add LICENCE and NOTICE files to the jar
>> ---------------------------------------
>>
>>          Key: MJAR-42
>>          URL: http://jira.codehaus.org/browse/MJAR-42
>>      Project: Maven 2.x Jar Plugin
>>         Type: Improvement
>>
>>     Versions: 2.1    
>>     Reporter: Jeremy Boynes
>>  Attachments: mvn-jar-patch.txt
>>
>> Patch attached that adds project LICENSE and NOTICE files into the
>> output jar. By default it will add LICENSE.txt and NOTICE.txt files
>> from the project's basedir (if they are present) into the META-INF
>> directory of the jar.
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 


-- 
Brett Porter <br...@apache.org>
Apache Maven - http://maven.apache.org/
Better Builds with Maven - http://library.mergere.com/

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