Add Karaf build profile 27/70527/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Sat, 7 Apr 2018 02:21:23 +0000 (22:21 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Sat, 7 Apr 2018 03:09:02 +0000 (23:09 -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: I0a2aa794fa5e17cf6148a1f709257047ee0da00a
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
pom.xml

diff --git a/pom.xml b/pom.xml
index eb1a37348f902174e592e5ab596a5db4c3aad705..b83d0f4295a9a224a596cdb36bb2bfc7430c0514 100644 (file)
--- a/pom.xml
+++ b/pom.xml
     <module>artifacts</module>
     <module>mappingservice</module>
     <module>features</module>
-    <module>lispflowmapping-karaf</module>
     <!--
     <module>integrationtest</module>
     -->
   </modules>
 
+  <profiles>
+    <profile>
+      <id>karaf</id>
+      <activation>
+        <activeByDefault>true</activeByDefault>
+      </activation>
+
+      <modules>
+        <module>lispflowmapping-karaf</module>
+      </modules>
+    </profile>
+  </profiles>
+
   <build>
     <plugins>
 <!--       <plugin>