You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@slider.apache.org by st...@apache.org on 2014/09/23 23:00:29 UTC

[02/19] git commit: SLIDER-278 add optional custom app repo via flag -Dprivate.repo.url=...

SLIDER-278 add optional custom app repo via flag -Dprivate.repo.url=...


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

Branch: refs/heads/feature/SLIDER-149_Support_a_YARN_service_registry
Commit: 7661f48143da52d306518839a3785c9a1a14347f
Parents: 2d6f483
Author: Billie Rinaldi <bi...@gmail.com>
Authored: Thu Sep 18 07:52:23 2014 -0700
Committer: Billie Rinaldi <bi...@gmail.com>
Committed: Thu Sep 18 07:52:23 2014 -0700

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


http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/7661f481/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index df8599f..9dd400e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1436,6 +1436,29 @@
         </plugins>
       </build>
     </profile>
+
+    <profile>
+      <id>private-repo</id>
+      <!-- this profile is for pulling custom app versions from a private maven repo -->
+      <activation>
+        <property>
+          <name>private.repo.url</name>
+        </property>
+      </activation>
+      <repositories>
+        <repository>
+          <releases>
+            <enabled>true</enabled>
+          </releases>
+          <snapshots>
+            <enabled>false</enabled>
+          </snapshots>
+          <id>private-repo</id>
+          <name>Private Repo</name>
+          <url>${private.repo.url}</url>
+        </repository>
+      </repositories>
+    </profile>
   </profiles>