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 18:54:45 UTC

svn commit: r1022612 - in /openjpa/trunk: openjpa-project/pom.xml openjpa-project/src/doc/manual/manual.xml pom.xml

Author: dwoods
Date: Thu Oct 14 16:54:45 2010
New Revision: 1022612

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

Modified:
    openjpa/trunk/openjpa-project/pom.xml
    openjpa/trunk/openjpa-project/src/doc/manual/manual.xml
    openjpa/trunk/pom.xml

Modified: openjpa/trunk/openjpa-project/pom.xml
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-project/pom.xml?rev=1022612&r1=1022611&r2=1022612&view=diff
==============================================================================
--- openjpa/trunk/openjpa-project/pom.xml (original)
+++ openjpa/trunk/openjpa-project/pom.xml Thu Oct 14 16:54:45 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/trunk/openjpa-project/src/doc/manual/manual.xml
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-project/src/doc/manual/manual.xml?rev=1022612&r1=1022611&r2=1022612&view=diff
==============================================================================
--- openjpa/trunk/openjpa-project/src/doc/manual/manual.xml (original)
+++ openjpa/trunk/openjpa-project/src/doc/manual/manual.xml Thu Oct 14 16:54:45 2010
@@ -63,6 +63,12 @@
 <book id="manual">
     <bookinfo>
         <title>Apache OpenJPA 2.1 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/trunk/pom.xml
URL: http://svn.apache.org/viewvc/openjpa/trunk/pom.xml?rev=1022612&r1=1022611&r2=1022612&view=diff
==============================================================================
--- openjpa/trunk/pom.xml (original)
+++ openjpa/trunk/pom.xml Thu Oct 14 16:54:45 2010
@@ -687,6 +687,8 @@
                     <configuration>
                         <getRevisionOnlyOnce>true</getRevisionOnlyOnce>
                         <revisionOnScmFailure>offline</revisionOnScmFailure>
+                        <useLastCommittedRevision>true</useLastCommittedRevision>
+                        <timestampFormat>{0,date,long} at {0,time,short}</timestampFormat>
                     </configuration>
                     <executions>
                         <execution>
@@ -789,6 +791,7 @@
                                     </manifest>
                                     <manifestEntries>
                                         <Implementation-Build>${buildNumber}</Implementation-Build>
+                                        <Implementation-Date>${timestamp}</Implementation-Date>
                                     </manifestEntries>
                                 </archive>
                             </configuration>
@@ -861,6 +864,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>