SLIDER-671 trying to make app-package module optional

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

Branch: refs/heads/feature/SLIDER-151_REST_API
Commit: 4662c65d38d206a87a889b90a9e24b908794fe8b
Parents: ec82e0d
Author: Steve Loughran <[email protected]>
Authored: Fri Dec 5 14:50:34 2014 +0000
Committer: Steve Loughran <[email protected]>
Committed: Fri Dec 5 14:50:34 2014 +0000

----------------------------------------------------------------------
 pom.xml | 22 ++++++++++++++++++----
 1 file changed, 18 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/4662c65d/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 2c615c1..a0468f2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -40,7 +40,7 @@
     <module>slider-agent</module>
     <module>slider-assembly</module>
     <module>slider-funtest</module>
-    <module>app-packages</module>
+    <!-- the app-packages module is added as a profile-->
   </modules>
 
   <licenses>
@@ -78,9 +78,7 @@
       <name>${distMgmtSnapshotsName}</name>
       <url>${distMgmtSnapshotsUrl}</url>
     </snapshotRepository>
-
-
-
+    
   </distributionManagement>
   
   <mailingLists>
@@ -1391,6 +1389,22 @@
     </profile>
 
     <profile>
+      <id>all-modules</id>
+      <activation>
+        <activeByDefault>true</activeByDefault>
+      </activation>
+      <modules>
+        <module>app-packages</module>
+      </modules>
+    </profile>
+
+    <profile>
+      <id>no-app-packages</id>
+      <modules>
+      </modules>
+    </profile>
+
+    <profile>
       <id>apache-release</id>
       <!-- 
       Build the release artifacts which become 

Reply via email to