Add Karaf build profile 40/70540/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Sat, 7 Apr 2018 01:37:50 +0000 (21:37 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Sat, 7 Apr 2018 03:40:34 +0000 (23:40 -0400)
Project local Karaf distros are handy for devs to test their work
however is unneeded by autorelease builds and should not be released
as part of the Simultanious Release. Add a profile that is active by
default so that default behaviour is unchanged however allows the
autorelease project to disable building this module.

Issue: RELENG-86
Change-Id: I1197b8f705c6eb77d21ac358afd53a696391b14f
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
hwvtepsouthbound/pom.xml
library/pom.xml
southbound/pom.xml

index c2a72fcf4a6b6b7344dacf966a53f3226b5a119c..e6b31a97f3bf08965c388c8f385181e37090c3f5 100644 (file)
@@ -25,12 +25,24 @@ and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
   <modules>
     <module>hwvtepsouthbound-api</module>
     <module>hwvtepsouthbound-impl</module>
-    <module>hwvtepsouthbound-karaf</module>
     <module>hwvtepsouthbound-features</module>
     <module>hwvtepsouthbound-artifacts</module>
     <module>hwvtepsouthbound-it</module>
   </modules>
 
+  <profiles>
+    <profile>
+      <id>karaf</id>
+      <activation>
+        <activeByDefault>true</activeByDefault>
+      </activation>
+
+      <modules>
+        <module>hwvtepsouthbound-karaf</module>
+      </modules>
+    </profile>
+  </profiles>
+
   <!-- DO NOT install or deploy the repo root pom as it's only needed to initiate a build -->
   <build>
     <plugins>
index fcb8e11fee7540f54e025261fc2b3a415c661299..8d5bc3adcf5bb8bae2296f115936ff49eeaed463 100644 (file)
@@ -24,12 +24,24 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
   <packaging>pom</packaging>
   <modules>
     <module>impl</module>
-    <module>karaf</module>
     <module>features</module>
     <module>artifacts</module>
     <module>it</module>
   </modules>
 
+  <profiles>
+    <profile>
+      <id>karaf</id>
+      <activation>
+        <activeByDefault>true</activeByDefault>
+      </activation>
+
+      <modules>
+        <module>karaf</module>
+      </modules>
+    </profile>
+  </profiles>
+
   <!-- DO NOT install or deploy the repo root pom as it's only needed to initiate a build -->
   <build>
     <plugins>
index 00ca795e8b609fd2d4396d66ae4e770307a2b54c..86d28295e0fa21cfdb473b69fe73ae23ea7cae61 100644 (file)
@@ -25,12 +25,24 @@ and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
   <modules>
     <module>southbound-api</module>
     <module>southbound-impl</module>
-    <module>southbound-karaf</module>
     <module>southbound-features</module>
     <module>southbound-artifacts</module>
     <module>southbound-it</module>
   </modules>
 
+  <profiles>
+    <profile>
+      <id>karaf</id>
+      <activation>
+        <activeByDefault>true</activeByDefault>
+      </activation>
+
+      <modules>
+        <module>southbound-karaf</module>
+      </modules>
+    </profile>
+  </profiles>
+
   <!-- DO NOT install or deploy the repo root pom as it's only needed to initiate a build -->
   <build>
     <plugins>