stataru8 commented on code in PR #464:
URL: https://github.com/apache/camel-karaf/pull/464#discussion_r1688507893


##########
features/src/main/feature/camel-features.xml:
##########
@@ -819,8 +819,17 @@
         <feature version='${camel-osgi-version-range}'>camel-core</feature>
         <feature version="[4,5)">http-client</feature>
         <bundle 
dependency='true'>wrap:mvn:com.ibm.cloud/cloudant/${cloudant-version}</bundle>
+        <bundle 
dependency='true'>wrap:mvn:com.ibm.cloud/cloudant-common/${cloudant-version}</bundle>
         <bundle 
dependency='true'>wrap:mvn:com.ibm.cloud/sdk-core/${auto-detect-version}</bundle>
-        <bundle 
dependency='true'>mvn:com.google.code.gson/gson/${auto-detect-version}</bundle>
+        <!-- 'sdk-core' requires 'com.google.gson.internal*', which is not 
exported by the original bundle -->
+        <bundle 
dependency='true'>wrap:mvn:com.google.code.gson/gson/${gson-version}$overwrite=merge&amp;Export-Package=com.google.gson*;version=${gson-version}</bundle>

Review Comment:
   ```
   Caused by: java.lang.ClassNotFoundException: 
com.google.gson.internal.LazilyParsedNumber not found by 
wrap_file__C__Users_stataru_.m2_repository_com_ibm_cloud_sdk-core_9.21.0
   _sdk-core-9.21.0.jar_Bundle-Version_9.21.0 [437
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to