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

Trying to upgrade from 1.27 to 2.1.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Bug
    • 2.1.0
    • None
    • build

    Description

      Currently, my application is using the Tika version of 1.27, in the Gradle file we wrote like below to download and use Tika components.

      api(group: 'org.apache.tika', name: 'tika-parsers', version: '1.27')

      {         // Tika requires a version of jackson that conflicts with other dependencies.         exclude group: "com.fasterxml.jackson.core"     }

      but when trying to update to 2.1.0 with the below code. seeing some of the imports are missing.

      import org.apache.tika.config.TikaConfig;
      import org.apache.tika.detect.Detector;
      import org.apache.tika.exception.TikaException;
      import org.apache.tika.io.TikaInputStream;
      import org.apache.tika.metadata.HttpHeaders;
      import org.apache.tika.metadata.Metadata;
      import org.apache.tika.metadata.TikaMetadataKeys;
      import org.apache.tika.mime.MediaType;
      import org.apache.tika.mime.MimeType;
      import org.apache.tika.mime.MimeTypeException;
      import org.apache.tika.parser.AutoDetectParser;
      import org.apache.tika.parser.ParseContext;

      Tried with below, causing the above imports missing.

       

      api(group: 'org.apache.tika', name: 'tika-parsers-standard-package', version: '2.1.0')

      {         // Tika requires a version of jackson that conflicts with other dependencies.         exclude group: "com.fasterxml.jackson.core"     }

      Please let me know what imports I need to change to fix above issues.

      Attachments

        Activity

          People

            Unassigned Unassigned
            Vamsi452 Tika User
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: