Author: hboutemy
Date: Fri Sep  2 20:41:43 2011
New Revision: 1164700

URL: http://svn.apache.org/viewvc?rev=1164700&view=rev
Log:
added aggregated javadoc and jxr with menu entry

Modified:
    maven/plugin-tools/trunk/pom.xml
    maven/plugin-tools/trunk/src/site/site.xml

Modified: maven/plugin-tools/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/plugin-tools/trunk/pom.xml?rev=1164700&r1=1164699&r2=1164700&view=diff
==============================================================================
--- maven/plugin-tools/trunk/pom.xml (original)
+++ maven/plugin-tools/trunk/pom.xml Fri Sep  2 20:41:43 2011
@@ -257,4 +257,57 @@
     </pluginManagement>
   </build>
 
+  <profiles>
+    <profile>
+      <id>reporting</id>
+      <reporting>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-javadoc-plugin</artifactId>
+            <version>2.8</version>
+            <configuration>
+              <linksource>true</linksource>
+              <links combine.children="append">
+                
<link>http://sonatype.github.com/sonatype-aether/apidocs/</link>
+              </links>
+            </configuration>
+            <reportSets>
+              <reportSet>
+                <id>non-aggregate</id>
+                <reports>
+                  <report>javadoc</report>
+                </reports>
+              </reportSet>
+              <reportSet>
+                <id>aggregate</id>
+                <reports>
+                  <report>aggregate</report>
+                </reports>
+              </reportSet>
+            </reportSets>
+          </plugin>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-jxr-plugin</artifactId>
+            <version>2.3</version>
+            <reportSets>
+              <reportSet>
+                <id>non-aggregate</id>
+                <reports>
+                  <report>jxr</report>
+                </reports>
+              </reportSet>
+              <reportSet>
+                <id>aggregate</id>
+                <reports>
+                  <report>aggregate</report>
+                </reports>
+              </reportSet>
+            </reportSets>
+          </plugin>
+        </plugins>
+      </reporting>
+    </profile>
+  </profiles>
 </project>

Modified: maven/plugin-tools/trunk/src/site/site.xml
URL: 
http://svn.apache.org/viewvc/maven/plugin-tools/trunk/src/site/site.xml?rev=1164700&r1=1164699&r2=1164700&view=diff
==============================================================================
--- maven/plugin-tools/trunk/src/site/site.xml (original)
+++ maven/plugin-tools/trunk/src/site/site.xml Fri Sep  2 20:41:43 2011
@@ -27,6 +27,9 @@ under the License.
 
     <menu name="Overview">
       <item name="Introduction" href="index.html"/>
+      <item name="JavaDocs" href="apidocs/index.html"/>
+      <item name="Source Xref" href="xref/index.html"/>
+      <!--item name="FAQ" href="faq.html"/-->
     </menu>
 
     <menu ref="modules" />


Reply via email to