I've also create an agreate javadoc, this morning, but I added groups
definition and excludes every samples (includes spring one that are not under
org.apache.wicket.examples) and quickstart :
<plugin>
<inherited>true</inherited>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<aggregate>true</aggregate>
<excludePackageNames>org.apache.wicket.quickstart.*:*.test:*.examples.*:*.spring.annot.web*:*.spring.common*:*.spring.direct*:*.spring.proxy*</excludePackageNames>
<groups>
<group>
<title>wicket</title>
<packages>org.apache.wicket*</packages>
</group>
<group>
<title>wicket-auth-roles</title>
<packages>org.apache.wicket.authentication*:org.apache.wicket.authorization*</packages>
</group>
<group>
<title>wicket-datetime</title>
<packages>org.apache.wicket.datetime*:org.apache.wicket.extensions.yui*</packages>
</group>
<group>
<title>wicket-extensions</title>
<packages>org.apache.wicket.extensions*</packages>
</group>
<group>
<title>wicket-guice</title>
<packages>org.apache.wicket.guice*</packages>
</group>
<group>
<title>wicket-ioc</title>
<packages>org.apache.wicket.injection*:org.apache.wicket.proxy*</packages>
</group>
<group>
<title>wicket-jmx</title>
<packages>org.apache.wicket.jmx*</packages>
</group>
<group>
<title>wicket-objectsizeof-agent</title>
<packages>org.apache.wicket.util.instrument*</packages>
</group>
<group>
<title>wicket-spring</title>
<packages>org.apache.wicket.spring*</packages>
</group>
<group>
<title>wicket-spring-annot</title>
<packages>org.apache.wicket.spring.injection.annot*</packages>
</group>
<group>
<title>wicket-velocity</title>
<packages>org.apache.wicket.velocity*</packages>
</group>
</groups>
</configuration>
</plugin>
Tim O'Brien wrote:
Gwyn, Martjin,
Is there a better place to run this? Does Wicket have a zone where
we could run this as a cron job?
The process is straightforward, I'm just changes the release
properties in the distributionManagement of the top-level pom.xml, I'm
also telling the javadoc-plugin to aggregate and exclude the examples.
SCRIPT FOLLOWS:
#!/usr/local/bin/bash
cd ~/svnw/wicket-trunk
svn update
mvn -P release site:deploy
PATCH FOLLOWS:
Index: pom.xml
===================================================================
--- pom.xml (revision 579617)
+++ pom.xml (working copy)
@@ -129,7 +129,7 @@
<distributionManagement>
<site>
<id>local</id>
- <url>file:target/site/</url>
+
<url>file:/home/tobrien/public_html/wicket/</url>
</site>
<repository>
<id>local</id>
@@ -709,6 +709,10 @@
<inherited>true</inherited>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
+ <configuration>
+ <aggregate>true</aggregate>
+
<excludePackageNames>org.apache.wicket.examples.*:org.apache.wicket.examples</excludePackageNames>
+ </configuration>
</plugin>
</plugins>
</reporting>
On 9/20/07, Gwyn Evans <[EMAIL PROTECTED]> wrote:
On Thursday, September 20, 2007, 11:13:23 PM, Tim <[EMAIL PROTECTED]> wrote:
BTW, I'm continuing to run the full javadoc build in ~tobrien as an interim
solution. It certainly isn't ideal, but it's one way to solve the
problem. I'll keep an eye on the discussion.
Please flag it (to myself or Martijn, if no-one else) if/when that
changes, as that's where the JavaDoc link on the front page goes! :-)
/Gwyn