BUG-4219: Add wrap as a boot feature 38/48538/3
authorStephen Kitt <skitt@redhat.com>
Mon, 21 Nov 2016 14:26:41 +0000 (15:26 +0100)
committerRobert Varga <nite@hq.sk>
Mon, 21 Nov 2016 15:04:56 +0000 (15:04 +0000)
In Karaf 4, wrapped bundles aren't supported by default. Features
containing wrapped bundles are supposed to declare a prerequisite
dependency on the "wrap" feature; until that's done, we simply add
"wrap" as a boot feature to enable loading old features.

Change-Id: If4fe6da367915c6c5474a5f87b062c71226b2a3a
Signed-off-by: Stephen Kitt <skitt@redhat.com>
karaf/karaf4-parent/pom.xml

index 625adfda59d1578834eb0d56ffa708dd2cd80590..8c1bab45a55b74f7a5df714880b05059b5cb3c16 100644 (file)
                         <feature>package</feature>
                         <feature>service</feature>
                         <feature>system</feature>
+                        <!-- We load wrap as a workaround to handle old features without the wrap prerequisite -->
+                        <!-- TODO Remove this once all the downstream features are fixed -->
+                        <feature>wrap</feature>
                     </bootFeatures>
                     <javase>1.8</javase>
                 </configuration>