bwalding 2003/08/15 07:34:00 Modified: src/plugins-build/license plugin.jelly Log: Undo the earlier changes for MAVEN-493. The license plugin has proper content when no license exists. PR: MAVEN-493 Revision Changes Path 1.17 +3 -11 maven/src/plugins-build/license/plugin.jelly Index: plugin.jelly =================================================================== RCS file: /home/cvs/maven/src/plugins-build/license/plugin.jelly,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- plugin.jelly 28 Jul 2003 05:24:26 -0000 1.16 +++ plugin.jelly 15 Aug 2003 14:34:00 -0000 1.17 @@ -46,18 +46,11 @@ <!-- L I C E N S E --> <!-- ================================================================== --> <goal name="maven-license-plugin:register"> - <j:set var="licenseFile"><license:fileName /></j:set> - <util:available file="${licenseFile}"> - <j:set var="licensePresent" value="true"/> - </util:available> - - <j:if test="${licensePresent == 'true'}"> - <doc:registerReport + <doc:registerReport name="Project License" pluginName="maven-license-plugin" link="license" description="Displays the primary license for the project."/> - </j:if> </goal> <goal name="maven-license-plugin:deregister"> @@ -105,9 +98,8 @@ <doc:text-xdoc title="Project License" section="Project License" - output="${genDocs}/license.xml" - inputFile="${licenseFile}"/> - + output="${genDocs}/license.xml" + inputFile="${licenseFile}"/> </goal>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]