mirror of
https://github.com/apache/openjpa.git
synced 2025-02-27 21:19:09 +00:00
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:
parent
52ccceb9c4
commit
f217051f56
30
pom.xml
30
pom.xml
@ -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>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user