From d552c18f3cbbb0608c8649b8e7246111045634b3 Mon Sep 17 00:00:00 2001
From: Mark Craig <mark.craig@forgerock.com>
Date: Fri, 24 Jun 2011 07:51:24 +0000
Subject: [PATCH] Post config ref to OpenDJ site, part I

---
 opends/pom.xml |   26 ++++++++++++++++++++++++++
 1 files changed, 26 insertions(+), 0 deletions(-)

diff --git a/opends/pom.xml b/opends/pom.xml
index 5f9256f..133e9c6 100644
--- a/opends/pom.xml
+++ b/opends/pom.xml
@@ -105,6 +105,32 @@
               </target>
             </configuration>
           </execution>
+          <execution>
+            <id>docgen</id>
+            <phase>pre-site</phase>
+            <goals>
+              <goal>run</goal>
+            </goals>
+            <configuration>
+              <target>
+                <ant target="configguide" />
+              </target>
+            </configuration>
+          </execution>
+          <execution>
+            <id>cp-docget</id>
+            <phase>post-site</phase>
+            <goals>
+              <goal>run</goal>
+            </goals>
+            <configuration>
+              <target>
+                <copy todir="build/site/configref">
+                  <fileset dir="build/docgen/configuration_guide/" />
+                </copy>
+              </target>
+            </configuration>
+          </execution>
         </executions>
       </plugin>
       <plugin>

--
Gitblit v1.10.0