Author: doogie
Date: Wed Apr 22 01:18:12 2015
New Revision: 1675240

URL: http://svn.apache.org/r1675240
Log:
Javadoc support, but still a work in progress.  mvn site will produce
javadoc output in build/site/apidocs.

Modified:
    ofbiz/branches/OFBIZ-6271/ofbiz-component-pom.xml

Modified: ofbiz/branches/OFBIZ-6271/ofbiz-component-pom.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-6271/ofbiz-component-pom.xml?rev=1675240&r1=1675239&r2=1675240&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-6271/ofbiz-component-pom.xml (original)
+++ ofbiz/branches/OFBIZ-6271/ofbiz-component-pom.xml Wed Apr 22 01:18:12 2015
@@ -111,6 +111,11 @@ under the License.
           <version>2.3</version>
         </plugin>
         <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-javadoc-plugin</artifactId>
+          <version>2.10.3</version>
+        </plugin>
+        <plugin>
           <groupId>org.codehaus.mojo</groupId>
           <artifactId>cobertura-maven-plugin</artifactId>
           <version>2.7</version>
@@ -358,11 +363,44 @@ under the License.
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-javadoc-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>aggregate</id>
+            <goals>
+              <goal>aggregate</goal>
+            </goals>
+            <phase>site</phase>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
 
   <reporting>
     <outputDirectory>build/site</outputDirectory>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-javadoc-plugin</artifactId>
+        <reportSets>
+          <reportSet>
+            <id>non-aggregate</id>
+            <reports>
+              <report>javadoc</report>
+            </reports>
+          </reportSet>
+          <reportSet>
+            <id>aggregate</id>
+            <reports>
+              <report>aggregate</report>
+            </reports>
+          </reportSet>
+        </reportSets>
+      </plugin>
+    </plugins>
   </reporting>
 
 </project>


Reply via email to