You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by mp...@apache.org on 2006/07/26 10:58:36 UTC
svn commit: r425683 - /incubator/openjpa/trunk/pom.xml
Author: mprudhom
Date: Wed Jul 26 01:58:35 2006
New Revision: 425683
URL: http://svn.apache.org/viewvc?rev=425683&view=rev
Log:
Added project.revision checking.
Modified:
incubator/openjpa/trunk/pom.xml
Modified: incubator/openjpa/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/openjpa/trunk/pom.xml?rev=425683&r1=425682&r2=425683&view=diff
==============================================================================
--- incubator/openjpa/trunk/pom.xml (original)
+++ incubator/openjpa/trunk/pom.xml Wed Jul 26 01:58:35 2006
@@ -169,6 +169,36 @@
<target>1.5</target>
</configuration>
</plugin>
+
+ <!--
+ get the svn revision number and set it in the
+ project.revision setting - disabled for now
+ since we need to be able to build from sources
+ zip (when there is no .svn/ metadata)
+ -->
+ <!--
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <configuration>
+ <tasks>
+ <xmlproperty file="${basedir}/.svn/entries"
+ collapseAttributes="true"/>
+ <property name="project.revision"
+ value="${wc-entries.entry.revision}"/>
+ <echo>Revision: ${project.revision}</echo>
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ -->
+
</plugins>
</build>