correct license processing

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112871 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
dion
2003-02-10 03:52:01 +00:00
parent 9ac98b6864
commit f5bf1aec31

View File

@@ -2,9 +2,11 @@
<project
xmlns:j="jelly:core"
xmlns:license="license"
xmlns:maven="jelly:maven"
xmlns:deploy="deploy"
xmlns:resources="resources"
xmlns:util="jelly:util"
xmlns:m="maven">
<j:choose>
@@ -151,8 +153,10 @@
<setProperty name="manifest" value="${maven.jar.manifest}" />
</j:if>
<metainf dir="${basedir}">
<include name="LICENSE.txt"/>
<j:set var="licenseFileName"><license:fileName/></j:set>
<util:file name="${licenseFileName}" var="licenseFile"/>
<metainf dir="${licenseFile.canonicalFile.parent}">
<include name="${licenseFile.canonicalFile.name}"/>
</metainf>
<manifest>
<attribute name="Built-By" value="${user.name}"/>