bwalding    2003/08/15 07:36:54

  Modified:    src/plugins-build/license Tag: MAVEN_RC1_STABLE 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
  No                   revision
  No                   revision
  1.14.2.1  +7 -14     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.14
  retrieving revision 1.14.2.1
  diff -u -r1.14 -r1.14.2.1
  --- plugin.jelly      21 Jul 2003 22:22:23 -0000      1.14
  +++ plugin.jelly      15 Aug 2003 14:36:54 -0000      1.14.2.1
  @@ -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 
  -        name="Project License" 
  -        pluginName="maven-license-plugin"
  -        link="license"
  -        description="Displays the primary license for the project."/>
  -    </j:if>
  +    <doc:registerReport 
  +      name="Project License" 
  +      pluginName="maven-license-plugin"
  +      link="license"
  +      description="Displays the primary license for the project."/>    
     </goal>
     
     <goal name="maven-license-plugin:deregister">
  @@ -105,8 +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]

Reply via email to