[ http://jira.codehaus.org/browse/MJAR-42?page=comments#action_68037 ]
Mike Perham commented on MJAR-42: --------------------------------- The license and notice files in the root of a project isn't a Maven standard (is it?) and plus I don't think it's a great idea anyways as it becomes repetitive in systems with large numbers of modules, all under the same license. I think a better idea is to add an element to the MANIFEST.MF with the value(s) of project.licenses.license: License-1-Name: Apache License, 2.0 License-1-Url: http://apache.org/APL-2.0.txt License-2-Name: GNU Lesser General Public License, 1.1 License-2-Url: http://gnu.org/LGPL-1.1.txt This way all modules can inherit their licenses via parent and have the manifest populated automatically. > 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. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira