harvard-lts / fits

File Information Tool Set
http://fitstool.org
GNU Lesser General Public License v2.1
91 stars 46 forks source link

add Tika install #349

Closed pwinckles closed 1 year ago

pwinckles commented 1 year ago

The project is reconfigured to use multiple poms. There is a parent pom, FITS pom, and a pom for each tool that's installed. The FITS pom is essentially the same as the old main pom. The parent pom defines some shared values, and glues all of the child poms together. Each of the tool poms is responsible for installing an individual tool.

This structure works well because it isolates each tools dependencies from each other. It was proving challenging to make this work within a single pom because Maven is not designed to isolate dependencies within a project.

The end result here is that the Tika jars are no longer in the source tree, and Tika can easily be upgraded simply by changing the version number in the parent pom.

pwinckles commented 1 year ago

Since creating the PR, I have also migrated DROID and JHOVE, which I think are the only others that can be removed from the source tree. I can either add them to this PR, or create followup PRs after this one is resolved.

awoods commented 1 year ago

Did the "droid" commit accidentally get added to this PR?

pwinckles commented 1 year ago

Did the "droid" commit accidentally get added to this PR?

Ugh. Yes. Just a sec

pwinckles commented 1 year ago

I rebased to remove the mistaken commits