[ http://jira.codehaus.org/browse/MJAR-103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_128142 ]
Dennis Lundberg commented on MJAR-103: -------------------------------------- You can configure the resource plugin to do it for you, like this: {code:xml} <resources> <resource> <directory>${basedir}</directory> <targetPath>META-INF</targetPath> <includes> <include>LICENSE.txt</include> </includes> </resource> </resources> {code} > 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