[ http://jira.codehaus.org/browse/MJAR-103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_128144 ]
Benjamin Bentmann commented on MJAR-103: ---------------------------------------- If ever, a simply boolean option like "addLicence" is not flexibile enough. Some people may call the file "LICENSE.txt" and others just "LICENSE". You need at least the possibility to specify the path to the license file: {code:xml} <configuration> <license>LICENSE.txt</license> </configuration> {code} Then, this is just one file. Tomorrow people want to include a NOTICE file as well or something else. If the JAR plugin should really be extended for this purpose instead of simply reusing existing resources capabilities, it would be more flexible to add a parameter that accepts a full-blown fileset, i.e. directory with some includes/excludes, just like the "filesets" parameter for the maven-clean-plugin. > Adding License and/or Notice into META-INF folder > ------------------------------------------------- > > Key: MJAR-103 > URL: http://jira.codehaus.org/browse/MJAR-103 > Project: Maven 2.x Jar Plugin > Issue Type: New Feature > Affects Versions: 2.2 > Reporter: Michael Osipov > > I'd like to be able to add my license.txt into the jar package. > an xml tag like <addLicense>true/false</addLicense> > would be extremely convenient. This can be achived right now with > build/resouces but the default resources have to be redeclared. -- 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