Add Karaf build profile 38/70538/1
authorDaniel Farrell <dfarrell@redhat.com>
Fri, 6 Apr 2018 21:24:28 +0000 (17:24 -0400)
committerDaniel Farrell <dfarrell@redhat.com>
Sat, 7 Apr 2018 03:40:24 +0000 (23:40 -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: I09f95138ae5b5eb073d8556d36a2b47ec83a912d
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
pom.xml

diff --git a/pom.xml b/pom.xml
index ec02edff774637d3e0fdf6ef3d9f420590d31f0a..74016a9722a81250698cdbb997bc547a312a927c 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -97,7 +97,6 @@
     <module>artifacts</module>
     <module>features/production</module>
     <module>features/test</module>
-    <module>karaf</module>
     <module>integration/test-standalone</module>
     <module>integration/test</module>
     <module>model</module>
     <tag>HEAD</tag>
     <url>https://wiki.opendaylight.org/view/NeutronNorthbound:Main</url>
   </scm>
+
+  <profiles>
+    <profile>
+      <id>karaf</id>
+      <activation>
+        <activeByDefault>true</activeByDefault>
+      </activation>
+      <modules>
+        <module>karaf</module>
+      </modules>
+    </profile>
+  </profiles>
 </project>