Added project.revision checking.

git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@425683 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Marc Prud'hommeaux 2006-07-26 08:58:35 +00:00
parent 52ccceb9c4
commit f217051f56

30
pom.xml
View File

@ -169,6 +169,36 @@
<target>1.5</target> <target>1.5</target>
</configuration> </configuration>
</plugin> </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> </plugins>
</build> </build>