Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-2684

Remove modeshape-core's dependency on Apache Tika

    Details

    • Type: Task
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 5.4.0.Final
    • Fix Version/s: 5.4.1.Final
    • Component/s: None
    • Labels:
      None

      Description

      modeshape-core has a compile time dependency on Apache Tika because it uses it for mime-type detection. Tika is a heavyweight dependency with a lot of transitive dependencies of its own. This has always been an Achilles heel especially when it comes to productizing Modeshape.

      As such, we should keep the current behavior of using Tika for mimetype detection, but make it 100% optional from a runtime perspective, meaning that if Tika is not present in the classpath at runtime, ModeShape should fall back to an extension-based detection mode.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                hchiorean Horia Chiorean
                Reporter:
                hchiorean Horia Chiorean
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: