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
>
>


-- 
------
Tim O'Brien: (847) 863-7045

Reply via email to