stataru8 commented on code in PR #460: URL: https://github.com/apache/camel-karaf/pull/460#discussion_r1686330865
########## features/src/main/feature/camel-features.xml: ########## @@ -193,16 +193,28 @@ <bundle dependency='true'>mvn:org.reactivestreams/reactive-streams/${reactive-streams-version}</bundle> </feature> <feature name="azure" version="${azure-core-version}" start-level="50"> + <feature version='[${azure-core-version},2)'>azure-msal4j</feature> <feature version='${camel-osgi-jackson2-version}'>jackson</feature> <bundle dependency='true'>mvn:com.fasterxml.jackson.dataformat/jackson-dataformat-xml/${jackson2-version}</bundle> <bundle dependency='true'>mvn:com.fasterxml.jackson.datatype/jackson-datatype-jsr310/${jackson2-version}</bundle> <bundle dependency='true'>wrap:mvn:com.azure/azure-core/${azure-core-version}$${spi-consumer}&Import-Package=*;resolution:=optional,com.fasterxml.jackson.dataformat.xml.deser;resolution:=optional,com.fasterxml.jackson.dataformat.xml.ser;resolution:=optional</bundle> - <bundle dependency='true'>wrap:mvn:com.azure/azure-identity/${azure-identity-version}</bundle> - <bundle dependency='true'>mvn:org.reactivestreams/reactive-streams/${reactive-streams-version}</bundle> + <bundle dependency='true'>wrap:mvn:com.azure/azure-identity/${azure-identity-version}$Import-Package=com.sun.jna,*;resolution:=optional</bundle> Review Comment: this is to fix the following ClassNotFoundException, which is thrown even when the bundle is present ``` Caused by: java.lang.ClassNotFoundException: com.sun.jna.Platform not found by wrap_file__C__Users_stataru_.m2_repository_com_azure_azure-identity_1.13.0_azure-identity-1.13. 0.jar_Bundle-Version_1.13.0 [197] ``` -- 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