dion        2002/10/03 09:16:35

  Modified:    src/plugins-build/xdoc/xdocs changes.xml
               src/plugins-build/xdoc/templates maven-reports.xml
               src/plugins-build/javadoc/xdocs changes.xml
               src/plugins-build/javadoc plugin.jelly
  Log:
  Added Javadoc report
  
  Revision  Changes    Path
  1.8       +3 -0      jakarta-turbine-maven/src/plugins-build/xdoc/xdocs/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-maven/src/plugins-build/xdoc/xdocs/changes.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- changes.xml       3 Oct 2002 11:59:11 -0000       1.7
  +++ changes.xml       3 Oct 2002 16:16:35 -0000       1.8
  @@ -7,6 +7,9 @@
   
     <body>
       <release version="1.3" date="in CVS">
  +      <action dev="dion" type="add">
  +        Added Javadoc report to Project Reports
  +      </action>
         <action dev="dion" type="fix">
           Fix table widths of changelog and changes reports
         </action>
  
  
  
  1.3       +7 -0      
jakarta-turbine-maven/src/plugins-build/xdoc/templates/maven-reports.xml
  
  Index: maven-reports.xml
  ===================================================================
  RCS file: 
/home/cvs/jakarta-turbine-maven/src/plugins-build/xdoc/templates/maven-reports.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- maven-reports.xml 3 Oct 2002 11:32:58 -0000       1.2
  +++ maven-reports.xml 3 Oct 2002 16:16:35 -0000       1.3
  @@ -85,6 +85,13 @@
                 this project complies with its coding conventions.
               </td>
             </tr>
  +          <tr><td><a href="javadoc.html">Javadoc Report</a></td>
  +            <td>
  +              This document the details of javadoc execution against
  +              the project. This encourages the reduction of javadoc
  +              errors.
  +            </td>
  +          </tr>
             #end
             #if ($files.file("$maven-docs-dest/clover").exists())
             <tr><td><a href="clover/index.html">Clover Test Coverage</a></td>
  
  
  
  1.2       +5 -2      
jakarta-turbine-maven/src/plugins-build/javadoc/xdocs/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: 
/home/cvs/jakarta-turbine-maven/src/plugins-build/javadoc/xdocs/changes.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- changes.xml       1 Oct 2002 15:36:11 -0000       1.1
  +++ changes.xml       3 Oct 2002 16:16:35 -0000       1.2
  @@ -6,9 +6,12 @@
     </properties>
   
     <body>
  -    <release version="1.1" date="in CVS" 
  -      due-to="Siegfried Goeschl" due-to-email="[EMAIL PROTECTED]">
  +    <release version="1.1" date="in CVS">
         <action dev="dion" type="add">
  +        Added a report with the javadoc run contents
  +      </action>
  +      <action dev="dion" type="add" due-to="Siegfried Goeschl" 
  +        due-to-email="[EMAIL PROTECTED]">
           Added the <code>maven.javadoc.maxmemory</code> property so that
           users can customise how much memory javadoc can consume
         </action>
  
  
  
  1.6       +18 -2     jakarta-turbine-maven/src/plugins-build/javadoc/plugin.jelly
  
  Index: plugin.jelly
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-maven/src/plugins-build/javadoc/plugin.jelly,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- plugin.jelly      1 Oct 2002 15:27:17 -0000       1.5
  +++ plugin.jelly      3 Oct 2002 16:16:35 -0000       1.6
  @@ -1,6 +1,9 @@
   <?xml version="1.0"?>
   
  -<project xmlns:j="jelly:core" xmlns:util="jelly:util">
  +<project xmlns:j="jelly:core" 
  +  xmlns:util="jelly:util"
  +  xmlns:define="jelly:define"
  +  xmlns:license="license">
   
     <!-- ================================================================== -->
     <!-- J A V A D O C S                                                    -->
  @@ -17,7 +20,8 @@
       <j:if test="${sourcesPresent == 'true'}">
   
       <mkdir dir="${maven.javadoc.destdir}"/>
  -
  +    <mkdir dir="${maven.gen.docs}" />
  +    
       <!-- Get the year to display in the Javadocs -->
       <tstamp>
         <format property="year" pattern="${pom.inceptionYear}-yyyy"/>
  @@ -48,6 +52,10 @@
   
       <j:set var="maxMemory" value="${maven.javadoc.maxmemory}" />
   
  +    <attainGoal name="license:init-tag" />
  +    <mkdir dir="${maven.build.dir}/javadoc/" />
  +    <record name="${maven.build.dir}/javadoc/report.txt" action="start" />
  +
       <javadoc
         sourcepath="${pom.build.sourceDirectory}"
         packagenames="${pom.package}.*"
  @@ -73,6 +81,14 @@
         </j:if>
         
       </javadoc>
  +    <record name="${maven.build.dir}/javadoc.txt" action="stop" />
  +    <license:license
  +      description="Javadoc Report"
  +      input="${maven.build.dir}/javadoc/report.txt"
  +      output="${maven.gen.docs}/javadoc.xml"
  +      outputEncoding="${maven.docs.outputencoding}"
  +      title="Javadoc"
  +    />
   
       </j:if>
   
  
  
  

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

Reply via email to