-
Bug
-
Resolution: Done
-
Major
-
14.0.20.Final, 15.0.0.Final
-
None
This issue is created because of JBEAP-26017
From infinispan-protostream:4.6.0.Final, the scope of some dependencies including jackson-core have been updated:
<dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-core</artifactId> - <optional>true</optional> </dependency> <dependency> <groupId>org.javassist</groupId> <artifactId>javassist</artifactId> - <optional>true</optional> </dependency>
, and also the change of com.squareup:protoparser:
<dependency> <groupId>com.squareup</groupId> <artifactId>protoparser</artifactId> - <optional>true</optional> </dependency>
infinispan-protostream is a dependency of infinispan-objectfilter, which is a shaded jar, the changes in infinispan-protostream change the infinispan-objectfilter shaded jar to include the non-optional transitive dependencies, like: jackson-core, javassist and protoparser.
So maybe we can take consideration of the following 4 options:
- option 1: exclude these 3 artifacts in the infinispan-objectfilter shaded artifact
- option 2: include only the needed jar in the infinispan-objectfilter shaded artifact
- option 3: drop the shaded jar in infinispan-objectfilter artifact
- option 4: do not replace the original jar with the shaded jar, release the shaded jar as a classifier maven artifact
If there is no requirement to have the shaded jar, we can take the option 3.
- is incorporated by
-
JBEAP-26017 (8.0.z) ISPN-15310 - Duplicated classes in infinispan-objectfilter-14.0.17.Final-redhat-00002.jar and jackson-core-2.15.2.redhat-00001.jar
- Closed