Author: ssmiweve
Date: 2008-09-29 22:59:10 +0200 (Mon, 29 Sep 2008)
New Revision: 6853

Modified:
   trunk/pom.xml
Log:
OPS-239 - Enhance JDocCoverage to suit our needs for Sesat javadoc coverage 
reports
 solved by using Sun's DocCheck doclet instead.


Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml       2008-09-29 09:22:45 UTC (rev 6852)
+++ trunk/pom.xml       2008-09-29 20:59:10 UTC (rev 6853)
@@ -677,18 +677,48 @@
             </plugin>
             <plugin>
                 <artifactId>maven-javadoc-plugin</artifactId>
-                <configuration>
-                    <aggregate>true</aggregate>
-                    <charset>UTF-8</charset>
-                    <docencoding>UTF-8</docencoding>
-                    <source>1.6</source>
-                    <docfilessubdirs>true</docfilessubdirs>
-                    <links>
-                        <link>http://java.sun.com/javase/6/docs/api/</link>
-                        <link>http://java.sun.com/javaee/5/docs/api/</link>
-                        <link>http://logging.apache.org/log4j/docs/api/</link>
-                    </links>
-                </configuration>
+                <reportSets>
+                  <reportSet>
+                    <id>html</id>
+                    <configuration>
+                        <aggregate>true</aggregate>
+                        <charset>UTF-8</charset>
+                        <docencoding>UTF-8</docencoding>
+                        <source>1.6</source>
+                        <docfilessubdirs>true</docfilessubdirs>
+                    </configuration>
+                    <reports>
+                      <report>javadoc</report>
+                    </reports>
+                  </reportSet>
+                  <reportSet>
+                    <id>doccheck</id>
+                    <configuration>
+                      <doclet>com.sun.tools.doclets.doccheck.DocCheck</doclet>
+                      <docletArtifact>
+                        <groupId>com.sun.tools.doclets</groupId>
+                        <artifactId>doccheck</artifactId>
+                        <version>1.2b2</version>
+                      </docletArtifact>
+                        <aggregate>true</aggregate>
+                        <charset>UTF-8</charset>
+                        <docencoding>UTF-8</docencoding>
+                        <source>1.6</source>
+                        <docfilessubdirs>true</docfilessubdirs>
+                      <additionalparam>
+                        -d ${project.build.directory}/site/doccheck -evident 3 
-skipPkg no.sesat.search.query.parser
+                      </additionalparam>
+                      <!-- Other dir than apidocs -->
+                      <destDir>doccheck</destDir>
+                      <!-- For the project-reports page-->
+                      <name>DocCheck</name>
+                      <description>DocCheck documentation.</description>
+                    </configuration>
+                    <reports>
+                      <report>javadoc</report>
+                    </reports>
+                  </reportSet>
+                </reportSets>
             </plugin>
             <plugin>
                 <groupId>org.codehaus.mojo</groupId>

_______________________________________________
Kernel-commits mailing list
[email protected]
http://sesat.no/mailman/listinfo/kernel-commits

Reply via email to