Add Karaf build profile 00/70500/2
authorThanh Ha <thanh.ha@linuxfoundation.org>
Sat, 7 Apr 2018 02:39:57 +0000 (22:39 -0400)
committerRobert Varga <nite@hq.sk>
Mon, 9 Apr 2018 14:54:13 +0000 (14:54 +0000)
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: I3b13b5051907226c136ab2788ee3881794a3ce52
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
pom.xml

diff --git a/pom.xml b/pom.xml
index 7c2a1be2e7f32f574cb1c9931f05306d5c5b6697..9f2f43c6e66ee58c5c44a2247c221814917fcc12 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>