Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-15310

Exclude jackson-core from infinispan-objectfilter artifact

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 14.0.21.Final, 15.0.0.Final
    • 14.0.20.Final, 15.0.0.Final
    • Build
    • 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.

              ttarrant@redhat.com Tristan Tarrant
              rhn-engineering-lgao Lin Gao
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: