]> source.dussan.org Git - archiva.git/commitdiff
try to make that working with svn 1.7
authorOlivier Lamy <olamy@apache.org>
Wed, 28 Mar 2012 11:14:55 +0000 (11:14 +0000)
committerOlivier Lamy <olamy@apache.org>
Wed, 28 Mar 2012 11:14:55 +0000 (11:14 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1306254 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-web-common/pom.xml

index cd73824a5fd7ed92df560e25176933e3f49f5c22..9713eb9d8910643f5c6be6abff12ca8e69d8ec23 100644 (file)
   </build>
 
   <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>