From 00c55fdf446b4c388720f4d92a6150855aecef5c Mon Sep 17 00:00:00 2001
From: Mark Craig <mark.craig@forgerock.com>
Date: Fri, 08 Jul 2011 09:29:42 +0000
Subject: [PATCH] Fix OPENDJ-228: Push OpenDJ "plugin API" Javadoc to community site
---
opends/pom.xml | 18 +++++++++++-------
opends/src/site/site.xml | 4 ++--
2 files changed, 13 insertions(+), 9 deletions(-)
diff --git a/opends/pom.xml b/opends/pom.xml
index 133e9c6..cbef1ff 100644
--- a/opends/pom.xml
+++ b/opends/pom.xml
@@ -106,20 +106,21 @@
</configuration>
</execution>
<execution>
- <id>docgen</id>
+ <id>generate-docs</id>
<phase>pre-site</phase>
<goals>
- <goal>run</goal>
+ <goal>run</goal>
</goals>
<configuration>
- <target>
- <ant target="configguide" />
- </target>
+ <target>
+ <ant target="javadoc" />
+ <ant target="configguide" />
+ </target>
</configuration>
</execution>
<execution>
- <id>cp-docget</id>
- <phase>post-site</phase>
+ <id>cp-generated-docs</id>
+ <phase>site</phase>
<goals>
<goal>run</goal>
</goals>
@@ -128,6 +129,9 @@
<copy todir="build/site/configref">
<fileset dir="build/docgen/configuration_guide/" />
</copy>
+ <copy todir="build/site/javadoc">
+ <fileset dir="build/javadoc/" />
+ </copy>
</target>
</configuration>
</execution>
diff --git a/opends/src/site/site.xml b/opends/src/site/site.xml
index 9448754..66bdb7a 100644
--- a/opends/src/site/site.xml
+++ b/opends/src/site/site.xml
@@ -68,8 +68,8 @@
<item name="Release Notes" href="../doc/release-notes/OpenDJ-Release-Notes.html" />
<item name="Installation Guide" href="../doc/install-guide/OpenDJ-Install-Guide.html" />
<item name="Administration Guide" href="../doc/admin-guide/OpenDJ-Admin-Guide.html" />
- <item name="Config Reference" href="./configref/index.html" alt="TODO" />
- <item name="Plugin Javadoc" href="../404.html" alt="TODO" />
+ <item name="Config Reference" href="./configref/index.html" />
+ <item name="Plugin Javadoc" href="./javadoc/index.html" />
</menu>
<menu name="OpenDJ Development">
--
Gitblit v1.10.0