From e5a630b05410ceede6685b3bb3f579ea8d2aba26 Mon Sep 17 00:00:00 2001
From: Mark Craig <mark.craig@forgerock.com>
Date: Wed, 18 Dec 2013 14:00:18 +0000
Subject: [PATCH] Align with fix for DOCS-121; additional fix for OPENDJ-1253

---
 pom.xml |   24 +++++++++++++-----------
 1 files changed, 13 insertions(+), 11 deletions(-)

diff --git a/pom.xml b/pom.xml
index 530aa6a..7c5d065 100644
--- a/pom.xml
+++ b/pom.xml
@@ -128,13 +128,15 @@
      *
     </opendj.osgi.import>
     <!--
-      Release date is specified only when building the documentation
-      for publication. For example:
-          -D"releaseDate=Software release date: January 1, 1970"
-      Otherwise release date should remain empty.
+      Release date and publication date are set at release build time.
+        -D"releaseDate=Software release date: January 1, 1970"
+        -D"pubDate=Publication date: December 31, 1969"
+      At all other times, the dates should be empty.
     -->
     <releaseDate />
     <softwareReleaseDate>${releaseDate}</softwareReleaseDate>
+    <pubDate />
+    <publicationDate>${pubDate}</publicationDate>
     <checkstyleHeaderLocation>org/forgerock/checkstyle/opendj-java-header</checkstyleHeaderLocation>
     <frDocPluginVersion>2.0.0-SNAPSHOT</frDocPluginVersion>
 
@@ -157,6 +159,13 @@
         </configuration>
         <executions>
           <execution>
+            <id>copy-common</id>
+            <phase>pre-site</phase>
+            <goals>
+              <goal>boilerplate</goal>
+            </goals>
+          </execution>
+          <execution>
            <id>filter-sources</id>
            <phase>pre-site</phase>
            <goals>
@@ -176,13 +185,6 @@
            </goals>
           </execution>
           <execution>
-            <id>copy-common</id>
-            <phase>pre-site</phase>
-            <goals>
-              <goal>boilerplate</goal>
-            </goals>
-          </execution>
-          <execution>
             <id>prepare-sources</id>
             <phase>pre-site</phase>
             <goals>

--
Gitblit v1.10.0