Add Karaf build profile 97/70497/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Sat, 7 Apr 2018 02:39:57 +0000 (22:39 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Sat, 7 Apr 2018 02:39:57 +0000 (22:39 -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: I0b1d31b051223a8a1c22494da08bd72eb585198b
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
pom.xml

diff --git a/pom.xml b/pom.xml
index 5472c31268166a41af473891d1b2eac6c46f0613..8157f5b9846fd316361a1f61463495e2412c3f42 100644 (file)
--- a/pom.xml
+++ b/pom.xml
             </plugin>
         </plugins>
     </reporting>
+
+  <profiles>
+    <profile>
+      <id>karaf</id>
+      <activation>
+        <activeByDefault>true</activeByDefault>
+      </activation>
+
+      <modules>
+        <module>distribution-karaf</module>
+      </modules>
+    </profile>
+  </profiles>
 </project>