You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/02/20 17:16:46 UTC

[camel] branch camel-3.0.x updated: CAMEL-14601 - Camel Kafka feature cannot be install on HPUX and Solaris arch

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch camel-3.0.x
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/camel-3.0.x by this push:
     new f9286fb  CAMEL-14601 - Camel Kafka feature cannot be install on HPUX and Solaris arch
f9286fb is described below

commit f9286fb70d96f195fd17c6dfcc0c9d1a049b6790
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Feb 20 17:50:14 2020 +0100

    CAMEL-14601 - Camel Kafka feature cannot be install on HPUX and Solaris arch
---
 platforms/karaf/features/src/main/resources/features.xml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/platforms/karaf/features/src/main/resources/features.xml b/platforms/karaf/features/src/main/resources/features.xml
index c7880dc..6c72258 100644
--- a/platforms/karaf/features/src/main/resources/features.xml
+++ b/platforms/karaf/features/src/main/resources/features.xml
@@ -1591,9 +1591,13 @@
   <feature name='camel-kafka' version='${project.version}' start-level='50'>
     <feature version='${project.version}'>camel-core</feature>
     <bundle dependency='true'>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.kafka-clients/${kafka-bundle-version}</bundle>
-    <bundle dependency='true'>mvn:org.xerial.snappy/snappy-java/${snappy-version}</bundle>
     <bundle dependency='true'>wrap:mvn:org.lz4/lz4-java/${lz4-version}</bundle>
     <bundle>mvn:org.apache.camel/camel-kafka/${project.version}</bundle>
+    <feature dependency='true'>snappy</feature>
+  </feature>
+  <feature name='snappy'>
+    <requirement>osgi.native;filter:="(|(osgi.native.osname~=aix)(osgi.native.osname~=linux)(osgi.native.osname~=macosx)(osgi.native.osname~=win32))"</requirement>
+    <bundle>mvn:org.xerial.snappy/snappy-java/${snappy-version}</bundle>
   </feature>
   <feature name='camel-kubernetes' version='${project.version}' start-level='50'>
     <feature version='${project.version}'>camel-core</feature>