You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@archiva.apache.org by ol...@apache.org on 2012/03/28 13:14:55 UTC

svn commit: r1306254 - /archiva/trunk/archiva-modules/archiva-web/archiva-web-common/pom.xml

Author: olamy
Date: Wed Mar 28 11:14:55 2012
New Revision: 1306254

URL: http://svn.apache.org/viewvc?rev=1306254&view=rev
Log:
try to make that working with svn 1.7

Modified:
    archiva/trunk/archiva-modules/archiva-web/archiva-web-common/pom.xml

Modified: archiva/trunk/archiva-modules/archiva-web/archiva-web-common/pom.xml
URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-modules/archiva-web/archiva-web-common/pom.xml?rev=1306254&r1=1306253&r2=1306254&view=diff
==============================================================================
--- archiva/trunk/archiva-modules/archiva-web/archiva-web-common/pom.xml (original)
+++ archiva/trunk/archiva-modules/archiva-web/archiva-web-common/pom.xml Wed Mar 28 11:14:55 2012
@@ -255,6 +255,37 @@
 
   <profiles>
     <profile>
+      <id>svn-1.7-buildnumber</id>
+      <activation>
+        <file>
+          <exists>../../../.svn/</exists>
+        </file>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>buildnumber-maven-plugin</artifactId>
+            <executions>
+              <execution>
+                <phase>generate-resources</phase>
+                <goals>
+                  <goal>create</goal>
+                </goals>
+              </execution>
+            </executions>
+            <configuration>
+              <doCheck>false</doCheck>
+              <doUpdate>false</doUpdate>
+              <!--providerImplementations>
+                <svn>javasvn</svn>
+              </providerImplementations-->
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+    <profile>
       <id>svn-buildnumber</id>
       <activation>
         <file>