Add Karaf build profile 02/70402/1
authorJamo Luhrsen <jluhrsen@redhat.com>
Fri, 6 Apr 2018 04:45:09 +0000 (21:45 -0700)
committerJamo Luhrsen <jluhrsen@redhat.com>
Fri, 6 Apr 2018 04:45:27 +0000 (21:45 -0700)
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.

Change-Id: Icf1f8c9e05c5667e5e7483783f2651ad89fc0eac
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
pom.xml

diff --git a/pom.xml b/pom.xml
index 5214e7f02feb5fb3275e975a7a34de05c1680821..5625124a901b4531a19409032b4fe777d3b7314c 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -51,6 +51,16 @@ and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
         <module>alto-basic</module>
         <module>alto-extensions</module>
         <module>alto-release-features</module>
+      </modules>
+    </profile>
+
+    <profile>
+      <id>karaf</id>
+      <activation>
+        <activeByDefault>true</activeByDefault>
+      </activation>
+
+      <modules>
         <module>alto-karaf</module>
       </modules>
     </profile>