hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1329880 - /httpcomponents/project/trunk/pom.xml
Date Tue, 24 Apr 2012 17:35:05 GMT
Author: sebb
Date: Tue Apr 24 17:35:04 2012
New Revision: 1329880

URL: http://svn.apache.org/viewvc?rev=1329880&view=rev
Log:
Unfortunately the javasvn implementation of buildNumber does not yet work for SVN client 1.7+

Modified:
    httpcomponents/project/trunk/pom.xml

Modified: httpcomponents/project/trunk/pom.xml
URL: http://svn.apache.org/viewvc/httpcomponents/project/trunk/pom.xml?rev=1329880&r1=1329879&r2=1329880&view=diff
==============================================================================
--- httpcomponents/project/trunk/pom.xml (original)
+++ httpcomponents/project/trunk/pom.xml Tue Apr 24 17:35:04 2012
@@ -329,10 +329,8 @@
           <useLastCommittedRevision>true</useLastCommittedRevision>
           <!-- default revision number if unavailable -->
           <revisionOnScmFailure>??????</revisionOnScmFailure>
-          <!-- svnjava works even if an svn command-line client is not on the path -->
-          <providerImplementations>
-            <svn>javasvn</svn>
-          </providerImplementations>
+          <doCheck>false</doCheck>
+          <doUpdate>false</doUpdate>
         </configuration>
       </plugin>
     </plugins>
@@ -615,6 +613,24 @@
       </build>
     </profile>
 
+   <!-- optional profile to use javasvn instead of the SVN CLI for the buildNumber plugin
-->
+   <profile>
+     <id>javasvn</id>
+     <build>
+       <plugins>
+         <plugin>
+           <groupId>org.codehaus.mojo</groupId>
+           <artifactId>buildnumber-maven-plugin</artifactId>
+           <configuration>
+             <providerImplementations>
+               <svn>javasvn</svn>
+             </providerImplementations>
+           </configuration>
+         </plugin>
+       </plugins>
+     </build>
+   </profile>
+
  </profiles>
 
  <properties>



Mime
View raw message