Make license plugin use taglib
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112870 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
1 parent
2a19207b62
commit
9ac98b6864
1 file changed
+1
-10
+1
-10
@@ -69,19 +69,10 @@
|
||||
prereqs="xdoc:init"
|
||||
description="Generate a xml file from your license file">
|
||||
|
||||
<j:set var="licenseX" value='${maven.license.licenseFile}X'/>
|
||||
<j:set var="licenseFile"><license:fileName /></j:set>
|
||||
<j:set var="genDocs"
|
||||
value="${pom.getPluginContext('maven-xdoc-plugin').getVariable('maven.gen.docs')}"/>
|
||||
|
||||
<j:choose>
|
||||
<j:when test="${licenseX != 'X'}">
|
||||
<j:set var="licenseFile" value='${maven.license.licenseFile}'/>
|
||||
</j:when>
|
||||
<j:otherwise>
|
||||
<j:set var="licenseFile" value='${basedir}/LICENSE.txt'/>
|
||||
</j:otherwise>
|
||||
</j:choose>
|
||||
|
||||
<util:available file="${licenseFile}">
|
||||
<j:set var="licensePresent" value="true"/>
|
||||
</util:available>
|
||||
|
||||
Reference in new issue
Block a user