You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by dw...@apache.org on 2010/10/14 19:11:30 UTC

svn commit: r1022616 - in /openjpa/branches/2.0.x: openjpa-project/pom.xml openjpa-project/src/doc/manual/manual.xml pom.xml

Author: dwoods
Date: Thu Oct 14 17:11:29 2010
New Revision: 1022616

URL: http://svn.apache.org/viewvc?rev=1022616&view=rev
Log:
OPENJPA-1833 Add build date/time and copyright to docs

Modified:
    openjpa/branches/2.0.x/openjpa-project/pom.xml
    openjpa/branches/2.0.x/openjpa-project/src/doc/manual/manual.xml
    openjpa/branches/2.0.x/pom.xml

Modified: openjpa/branches/2.0.x/openjpa-project/pom.xml
URL: http://svn.apache.org/viewvc/openjpa/branches/2.0.x/openjpa-project/pom.xml?rev=1022616&r1=1022615&r2=1022616&view=diff
==============================================================================
--- openjpa/branches/2.0.x/openjpa-project/pom.xml (original)
+++ openjpa/branches/2.0.x/openjpa-project/pom.xml Thu Oct 14 17:11:29 2010
@@ -217,7 +217,6 @@
                     <plugin>
                         <groupId>com.agilejava.docbkx</groupId>
                         <artifactId>docbkx-maven-plugin</artifactId>
-                        <version>2.0.7</version>
                         <executions>
                             <execution>
                                 <id>build-pdf-doc</id>

Modified: openjpa/branches/2.0.x/openjpa-project/src/doc/manual/manual.xml
URL: http://svn.apache.org/viewvc/openjpa/branches/2.0.x/openjpa-project/src/doc/manual/manual.xml?rev=1022616&r1=1022615&r2=1022616&view=diff
==============================================================================
--- openjpa/branches/2.0.x/openjpa-project/src/doc/manual/manual.xml (original)
+++ openjpa/branches/2.0.x/openjpa-project/src/doc/manual/manual.xml Thu Oct 14 17:11:29 2010
@@ -62,6 +62,12 @@
 <book id="manual">
     <bookinfo>
         <title>Apache OpenJPA 2.0 User's Guide</title>
+        <copyright>
+            <year>2006-2010</year>
+            <holder>The Apache Software Foundation</holder>
+        </copyright>
+        <!-- <releaseinfo>Built from OpenJPA version <?eval ${openjpa.version}?> revision <?eval ${buildNumber}?>.</releaseinfo> -->
+        <pubdate>Last updated on <?eval ${timestamp}?>.</pubdate>
     </bookinfo>
 
     <part id="introduction">

Modified: openjpa/branches/2.0.x/pom.xml
URL: http://svn.apache.org/viewvc/openjpa/branches/2.0.x/pom.xml?rev=1022616&r1=1022615&r2=1022616&view=diff
==============================================================================
--- openjpa/branches/2.0.x/pom.xml (original)
+++ openjpa/branches/2.0.x/pom.xml Thu Oct 14 17:11:29 2010
@@ -685,6 +685,8 @@
                     <configuration>
                         <getRevisionOnlyOnce>true</getRevisionOnlyOnce>
                         <revisionOnScmFailure>offline</revisionOnScmFailure>
+                        <useLastCommittedRevision>true</useLastCommittedRevision>
+                        <timestampFormat>{0,date,long} at {0,time,short}</timestampFormat>
                     </configuration>
                     <executions>
                         <execution>
@@ -787,6 +789,7 @@
                                     </manifest>
                                     <manifestEntries>
                                         <Implementation-Build>${buildNumber}</Implementation-Build>
+                                        <Implementation-Date>${timestamp}</Implementation-Date>
                                     </manifestEntries>
                                 </archive>
                             </configuration>
@@ -859,6 +862,12 @@
                     <artifactId>findbugs-maven-plugin</artifactId>
                     <version>2.3.1</version>
                 </plugin>
+                <!-- Newer versions of plugin will cause PDF build failures -->
+                <plugin>
+                    <groupId>com.agilejava.docbkx</groupId>
+                    <artifactId>docbkx-maven-plugin</artifactId>
+                    <version>2.0.7</version>
+                </plugin>
             </plugins>
         </pluginManagement>