dion        2003/09/19 00:35:24

  Modified:    src/plugins-build/html2xdoc/xdocs properties.xml changes.xml
               src/plugins-build/html2xdoc plugin.properties plugin.jelly
  Log:
  Add maven.html2xdoc.enabled property allowing html files to be
  treated as 'normal' xdoc when doing maven:site
  
  Revision  Changes    Path
  1.2       +9 -0      maven/src/plugins-build/html2xdoc/xdocs/properties.xml
  
  Index: properties.xml
  ===================================================================
  RCS file: /home/cvs/maven/src/plugins-build/html2xdoc/xdocs/properties.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- properties.xml    6 Mar 2003 19:15:10 -0000       1.1
  +++ properties.xml    19 Sep 2003 07:35:23 -0000      1.2
  @@ -21,6 +21,15 @@
             </td>
           </tr>
           <tr>
  +          <td>maven.html2xdoc.enabled</td>
  +          <td>Yes (default=false)</td>
  +          <td>
  +            If this is set to true, the html2xdoc plugin will run before any
  +            xdocs are translated to html, allowing the html2xdoc conversion process
  +            to produce its output as if it's a normal part of the site.
  +          </td>
  +        </tr>
  +        <tr>
             <td>maven.html2xdoc.jsl</td>
             <td>Yes</td>
             <td>
  
  
  
  1.3       +1 -0      maven/src/plugins-build/html2xdoc/xdocs/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/maven/src/plugins-build/html2xdoc/xdocs/changes.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- changes.xml       25 Jul 2003 06:21:15 -0000      1.2
  +++ changes.xml       19 Sep 2003 07:35:23 -0000      1.3
  @@ -7,6 +7,7 @@
   
     <body>
       <release version="1.1" date="in CVS">
  +      <action dev="dion" type="add">Add maven.html2xdoc.enabled property</action>
         <action dev="dion" type="update">
           Upgrade to dom4j 1.4
         </action>
  
  
  
  1.3       +1 -0      maven/src/plugins-build/html2xdoc/plugin.properties
  
  Index: plugin.properties
  ===================================================================
  RCS file: /home/cvs/maven/src/plugins-build/html2xdoc/plugin.properties,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- plugin.properties 7 Sep 2003 15:01:08 -0000       1.2
  +++ plugin.properties 19 Sep 2003 07:35:23 -0000      1.3
  @@ -3,3 +3,4 @@
   # -------------------------------------------------------------------
   # Html2XDoc log plugin.
   # -------------------------------------------------------------------
  +maven.html2xdoc.enabled=false
  \ No newline at end of file
  
  
  
  1.8       +7 -0      maven/src/plugins-build/html2xdoc/plugin.jelly
  
  Index: plugin.jelly
  ===================================================================
  RCS file: /home/cvs/maven/src/plugins-build/html2xdoc/plugin.jelly,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- plugin.jelly      17 Jul 2003 01:58:41 -0000      1.7
  +++ plugin.jelly      19 Sep 2003 07:35:23 -0000      1.8
  @@ -78,4 +78,11 @@
       </j:forEach>
     </goal>
   
  +  <preGoal name="xdoc:jelly-transform">
  +    <j:set var="enabled" value="${maven.html2xdoc.enabled}"/>
  +    <j:if test="${enabled}">
  +      <echo>html2xdoc is enabled</echo>
  +      <attainGoal name="html2xdoc"/>
  +    </j:if>
  +  </preGoal>
   </project>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to