Permalink
Browse files

Generate JavaDoc as part of the site build

  • Loading branch information...
1 parent 5ef6250 commit 8945306601acadc8f22775fd035a9f8de30f7696 @hlship committed Jul 21, 2010
Showing with 47 additions and 0 deletions.
  1. +46 −0 pom.xml
  2. +1 −0 src/site/site.xml
View
46 pom.xml
@@ -162,6 +162,51 @@
</reporting>
</profile>
</profiles>
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.2</version>
+ <configuration>
+ <linksource>true</linksource>
+ <links>
+ <link>http://java.sun.com/j2se/1.5.0/docs/api/</link>
+ <link>http://java.sun.com/j2ee/1.4/docs/api/</link>
+ </links>
+ <aggregate>true</aggregate>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-project-info-reports-plugin</artifactId>
+ <version>2.1</version>
+ <reportSets>
+ <reportSet>
+ <reports>
+ <report>summary</report>
+ <report>dependencies</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>cobertura-maven-plugin</artifactId>
+ <version>${cobertura-plugin-version}</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.tapestry</groupId>
+ <artifactId>tapestry-component-report</artifactId>
+ <version>${tapestry-release-version}</version>
+ <configuration>
+ <rootPackage>org.apache.tapestry5.corelib</rootPackage>
+ <apidocs>../apidocs</apidocs>
+ <tapestryJavadoc>../apidocs</tapestryJavadoc>
+ </configuration>
+ </plugin>
+ </plugins>
+ </reporting>
<repositories>
<repository>
<id>apache-snapshots</id>
@@ -192,6 +237,7 @@
</site>
</distributionManagement>
<properties>
+ <cobertura-plugin-version>2.2</cobertura-plugin-version>
<tapestry-release-version>5.2.0-SNAPSHOT</tapestry-release-version>
</properties>
</project>
View
@@ -13,6 +13,7 @@
<menu name="Project">
<item name="About" href="index.html"/>
+ <item name="Javadoc" href="apidocs/index.html"/>
</menu>
<menu name="Modules">

0 comments on commit 8945306

Please sign in to comment.