Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-2399

Version conflict with non-ASL jai-imageio-jpeg2000 and edu.ucar jj2000

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.15
    • 1.16
    • parser
    • None

    Description

      For users who want to extract jp2000 from PDFs for inline-image OCR, they have to add non- ASL 2.0 compatible:

      <dependency>
          <groupId>com.github.jai-imageio</groupId>
          <artifactId>jai-imageio-jpeg2000</artifactId>
          <version>1.3.0</version>
        </dependency>
      

      However, this creates a conflict with GRIB's jj2000:

         <dependency>
            <groupId>edu.ucar</groupId>
            <artifactId>jj2000</artifactId>
            <version>5.2</version>
          </dependency> 
      

      mcaruanagalizia (I'm guessing?) identified this conflict here and fixes it by upgrading jj2000 to 5.3. However, that doesn't exist in maven central, but only in Boundless.

      What do we do?

      1. We could exclude the jj2000 dependency from GRIB, and that functionality won't work for GRIB folks
      2. We could add a warning if we see jai-imageio-jpeg2000 is on the classpath to instruct users to exclude jj2000.
      3. Other options?

      Attachments

        Activity

          People

            tallison Tim Allison
            tallison Tim Allison
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: