You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by di...@apache.org on 2003/02/10 04:55:59 UTC
cvs commit: jakarta-turbine-maven/src/plugins-build/j2ee plugin.jelly
dion 2003/02/09 19:55:59
Modified: src/plugins-build/j2ee plugin.jelly
Log:
Use license file from license plugin rather than hardcoding
Revision Changes Path
1.4 +4 -2 jakarta-turbine-maven/src/plugins-build/j2ee/plugin.jelly
Index: plugin.jelly
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/src/plugins-build/j2ee/plugin.jelly,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- plugin.jelly 28 Jan 2003 04:57:07 -0000 1.3
+++ plugin.jelly 10 Feb 2003 03:55:59 -0000 1.4
@@ -61,8 +61,10 @@
</j:forEach>
<!-- include license -->
- <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>
<!-- standard manifest entries -->