diff gnv/pom.xml @ 282:d6c0d426e38a

Added the Possibility to get Version-Infomation and Release Date/Time from the GNV-Project using a Browser issue87 gnv/trunk@360 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Mon, 23 Nov 2009 16:30:33 +0000
parents b98a6d175916
children 1fb55ff633db
line wrap: on
line diff
--- a/gnv/pom.xml	Fri Nov 20 14:48:33 2009 +0000
+++ b/gnv/pom.xml	Mon Nov 23 16:30:33 2009 +0000
@@ -120,6 +120,39 @@
                  </additionalProjectFacets>
              </configuration>
       </plugin>
+      <plugin>
+      <groupId>org.codehaus.mojo</groupId>
+      <artifactId>buildnumber-maven-plugin</artifactId>
+      <version>1.0-beta-2</version>
+      <executions>
+        <execution>
+          <phase>initialize</phase>
+          <goals>
+            <goal>create</goal>
+          </goals>
+        </execution>
+      </executions>
+      <configuration>
+        <doCheck>false</doCheck>
+        <doUpdate>false</doUpdate>
+        <timestampFormat>{0, date, yyyy-MM-dd HH:mm:ss}</timestampFormat>
+         <format>{0,date,yyyy-MM-dd HH:mm:ss}</format>
+          <items>
+            <item>timestamp</item>
+          </items>
+        
+        <revisionOnScmFailure>no_revision</revisionOnScmFailure>
+      </configuration>
+    </plugin>
+      
+     
+
     </plugins>
+    <resources>
+      <resource>
+        <directory>src/main/resources</directory>
+        <filtering>true</filtering>
+      </resource>
+    </resources>  
   </build>
 </project>

http://dive4elements.wald.intevation.org