[
https://issues.apache.org/jira/browse/SM-5663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jean-Baptiste Onofré updated SM-5663:
-------------------------------------
Fix Version/s: bundles-2024.02
> Spring webmvc 5.3.x OSGI bundle do not contains "com.google.gson" import
> ------------------------------------------------------------------------
>
> Key: SM-5663
> URL: https://issues.apache.org/jira/browse/SM-5663
> Project: ServiceMix
> Issue Type: Bug
> Components: bundles
> Reporter: Maxime Leur
> Assignee: Jean-Baptiste Onofré
> Priority: Major
> Fix For: bundles-2024.02
>
>
> Hi,
> Spring webmvc 5.3.x OSGI bundle do not contains "com.google.gson" import
> contrary to "Spring web 5.3.x OSGI bundle".
> Indeed, Spring web 5.3.x OSGI bundle contains "com.google.gson" import into
> its "pom.xml" file:
> https://github.com/apache/servicemix-bundles/blob/master/spring-web-5.3.31/pom.xml
> {noformat}
> <servicemix.osgi.import.pkg>
> com.squareup.okhttp.internal.http;resolution:=optional,
> javax.net.ssl, okhttp3.internal.http;resolution:=optional,
> com.caucho.*;version="[4,5)";resolution:=optional,
> com.fasterxml.jackson.*;version="[2,3)";resolution:=optional,
> com.google.gson;version="[2.3,3)";resolution:=optional,
> com.google.gson.reflect;version="[2.3,3)";resolution:=optional,
> .....
> {noformat}
> But Spring webmvc 5.3.x OSGI bundle do not contains it:
> https://github.com/apache/servicemix-bundles/blob/master/spring-webmvc-5.3.31/pom.xml
> It causes issue on REST API with "gson" library.
> Regards,
> Maxime
--
This message was sent by Atlassian Jira
(v8.20.10#820010)