Skip to content

Commit

Permalink
TIKA-4191 -- reduce tika-core's scope to "provided" where possible (#…
Browse files Browse the repository at this point in the history
…1575)

* TIKA-4191 -- change tika-core's scope to "provided" where possible
  • Loading branch information
tballison committed Feb 12, 2024
1 parent 455409b commit fb6ba1a
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGES.txt
Expand Up @@ -13,6 +13,8 @@ Release 3.0.0-BETA - 12/01/2023

* Removed xerces2 as a dependency (TIKA-4135).

* tika-core now has a scope of "provided" in most non-app modules (TIKA-4191).

* Tika will look for "custom-mimetypes.xml" directly on the classpath, NOT
under "/org/apache/tika/mime/". (TIKA-4147).

Expand Down
1 change: 1 addition & 0 deletions tika-app/pom.xml
Expand Up @@ -73,6 +73,7 @@
<artifactId>tika-emitter-fs</artifactId>
<version>${project.version}</version>
</dependency>
<!-- this brings in tika-core -->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>tika-async-cli</artifactId>
Expand Down
3 changes: 3 additions & 0 deletions tika-batch/pom.xml
Expand Up @@ -39,16 +39,19 @@
<groupId>${project.groupId}</groupId>
<artifactId>tika-core</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>tika-serialization</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-compress</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>commons-cli</groupId>
Expand Down
5 changes: 5 additions & 0 deletions tika-eval/tika-eval-app/pom.xml
Expand Up @@ -30,6 +30,11 @@


<dependencies>
<dependency>
<groupId>org.apache.tika</groupId>
<artifactId>tika-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.tika</groupId>
<artifactId>tika-eval-core</artifactId>
Expand Down
1 change: 1 addition & 0 deletions tika-eval/tika-eval-core/pom.xml
Expand Up @@ -34,6 +34,7 @@
<groupId>${project.groupId}</groupId>
<artifactId>tika-core</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
Expand Down
1 change: 1 addition & 0 deletions tika-fuzzing/pom.xml
Expand Up @@ -37,6 +37,7 @@
<groupId>${project.groupId}</groupId>
<artifactId>tika-core</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
Expand Down
1 change: 1 addition & 0 deletions tika-java7/pom.xml
Expand Up @@ -91,6 +91,7 @@
<groupId>${project.groupId}</groupId>
<artifactId>tika-core</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
Expand Down
6 changes: 5 additions & 1 deletion tika-server/tika-server-core/pom.xml
Expand Up @@ -36,12 +36,16 @@
</pluginRepositories>

<dependencies>
<dependency>
<groupId>org.apache.tika</groupId>
<artifactId>tika-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>tika-translate</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>tika-langdetect-optimaize</artifactId>
Expand Down
1 change: 1 addition & 0 deletions tika-translate/pom.xml
Expand Up @@ -39,6 +39,7 @@
<groupId>org.apache.tika</groupId>
<artifactId>tika-core</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.tika</groupId>
Expand Down
1 change: 1 addition & 0 deletions tika-xmp/pom.xml
Expand Up @@ -83,6 +83,7 @@
<groupId>${project.groupId}</groupId>
<artifactId>tika-core</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
Expand Down

0 comments on commit fb6ba1a

Please sign in to comment.