Add Karaf build profile 33/70433/3
authorJamo Luhrsen <jluhrsen@redhat.com>
Fri, 6 Apr 2018 14:39:56 +0000 (07:39 -0700)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 6 Apr 2018 17:58:43 +0000 (13:58 -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: If42ef5140ecdf762cc57e2c938f1456784566446
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
pom.xml

diff --git a/pom.xml b/pom.xml
index c5c9b702adae7bb55a95ae840360bbc3b9b2636d..e2038126b0fa73a928807fda402eab003478ecb9 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -60,8 +60,6 @@
         <module>data-change-counter</module>
         <module>testtool-util</module>
 
-        <module>distribution-karaf</module>
-
     </modules>
 
     <build>
             </plugin>
         </plugins>
     </reporting>
+
+  <profiles>
+    <profile>
+      <id>karaf</id>
+      <activation>
+        <activeByDefault>true</activeByDefault>
+      </activation>
+
+      <modules>
+        <module>distribution-karaf</module>
+      </modules>
+    </profile>
+  </profiles>
 </project>