Repository: incubator-slider
Updated Branches:
  refs/heads/develop 268cdbf15 -> 0992e8550


SLIDER-1014 adding the private-git-repo profile


Project: http://git-wip-us.apache.org/repos/asf/incubator-slider/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-slider/commit/adbf37aa
Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/adbf37aa
Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/adbf37aa

Branch: refs/heads/develop
Commit: adbf37aac0012eed79f1f4c0bf0fcc0d853f1f88
Parents: f61e3dc
Author: Steve Loughran <ste...@apache.org>
Authored: Fri Dec 18 18:34:22 2015 +0000
Committer: Steve Loughran <ste...@apache.org>
Committed: Fri Dec 18 18:39:59 2015 +0000

----------------------------------------------------------------------
 pom.xml | 23 ++++++++++++++++++++---
 1 file changed, 20 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/adbf37aa/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 1971b6c..cc88246 100644
--- a/pom.xml
+++ b/pom.xml
@@ -53,13 +53,13 @@
 
   <scm>
     <url>http://git-wip-us.apache.org/repos/asf/incubator-slider.git</url>
-    
<connection>scm:git:http://git-wip-us.apache.org/repos/asf/incubator-slider.git
+    <connection>
+      scm:git:http://git-wip-us.apache.org/repos/asf/incubator-slider.git
     </connection>
     <developerConnection>
       scm:git:http://git-wip-us.apache.org/repos/asf/incubator-slider.git
     </developerConnection>
   </scm>
-  
 
   <distributionManagement>
     <site>
@@ -1804,7 +1804,7 @@
         </plugins>
       </build>
     </profile>
-    
+
     <profile>
       <id>javadoc</id>
       <build>
@@ -1826,6 +1826,23 @@
       </build>
     </profile>
 
+    <!--
+    Allows the git repository to be overridden so that maven release operations
+    do not create tags and branches on the ASF repository.
+
+    Set the property git.repo = the URL to the repository
+    -->
+    <profile>
+      <id>private-git-repo</id>
+      <scm>
+        <url>http://git-wip-us.apache.org/repos/asf/incubator-slider.git</url>
+        <connection>
+          scm:git:http://git-wip-us.apache.org/repos/asf/incubator-slider.git
+        </connection>
+        <developerConnection>${git.repo}</developerConnection>
+      </scm>
+    </profile>
+
   </profiles>
 
 </project>

Reply via email to