Improve JCR and Jackrabbit
[lgpl/argeo-commons.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 8f6ae885ff735cffe82417f8e80f4150fa0bde86..de428292ffc11dd6e153a3383c4b45e114152d11 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -142,9 +142,10 @@ limitations under the License.
                        <plugin>
                                <groupId>org.codehaus.mojo</groupId>
                                <artifactId>buildnumber-maven-plugin</artifactId>
+                               <version>1.0-beta-4</version>
                                <executions>
                                        <execution>
-                                               <phase>validate</phase>
+                                               <phase>generate-resources</phase>
                                                <goals>
                                                        <goal>create</goal>
                                                </goals>
@@ -153,7 +154,14 @@ limitations under the License.
                                <configuration>
                                        <doCheck>false</doCheck>
                                        <doUpdate>false</doUpdate>
-                                       <useLastCommittedRevision>true</useLastCommittedRevision>
+                                       <format>{0,date,yyyyMMdd_HHmmss}</format>
+                                       <items>
+                                               <item>timestamp</item>
+                                       </items>
+                                       <revisionOnScmFailure>git</revisionOnScmFailure>
+                                       <providerImplementations>
+                                               <git>svn</git>
+                                       </providerImplementations>
                                </configuration>
                        </plugin>
                        <plugin>