This is an automated email from the ASF dual-hosted git repository.
tilman pushed a commit to branch branch_3x
in repository https://gitbox.apache.org/repos/asf/tika.git
The following commit(s) were added to refs/heads/branch_3x by this push:
new 5032f7ec9 TIKA-4504: add exclusions
5032f7ec9 is described below
commit 5032f7ec96a08a9239259421942bbc2262c1204d
Author: Tilman Hausherr <[email protected]>
AuthorDate: Sun Oct 5 21:19:45 2025 +0200
TIKA-4504: add exclusions
---
tika-detectors/tika-detector-magika/pom.xml | 9 +++++++++
tika-detectors/tika-detector-siegfried/pom.xml | 9 +++++++++
tika-parsers/tika-parsers-ml/pom.xml | 2 ++
3 files changed, 20 insertions(+)
diff --git a/tika-detectors/tika-detector-magika/pom.xml
b/tika-detectors/tika-detector-magika/pom.xml
index 9f08adecf..9aee8a8f5 100644
--- a/tika-detectors/tika-detector-magika/pom.xml
+++ b/tika-detectors/tika-detector-magika/pom.xml
@@ -59,6 +59,15 @@
</dependencies>
<build>
<plugins>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <configuration>
+ <excludes>
+ <exclude>src/test/resources/test-documents/testPDF.pdf</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<executions>
diff --git a/tika-detectors/tika-detector-siegfried/pom.xml
b/tika-detectors/tika-detector-siegfried/pom.xml
index c5c6882a2..2ca561a5e 100644
--- a/tika-detectors/tika-detector-siegfried/pom.xml
+++ b/tika-detectors/tika-detector-siegfried/pom.xml
@@ -66,6 +66,15 @@
</dependencies>
<build>
<plugins>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <configuration>
+ <excludes>
+
<exclude>src/test/resources/test-documents/testPDF.pdf</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<executions>
diff --git a/tika-parsers/tika-parsers-ml/pom.xml
b/tika-parsers/tika-parsers-ml/pom.xml
index 12418eaa4..7094ade8c 100644
--- a/tika-parsers/tika-parsers-ml/pom.xml
+++ b/tika-parsers/tika-parsers-ml/pom.xml
@@ -61,6 +61,8 @@
<excludes>
<exclude>src/test/resources/test-documents/**</exclude>
<exclude>tika-parser-nlp-module/src/test/resources/test-documents/**</exclude>
<!-- already checked -->
+ <exclude>tika-age-recogniser/model/opennlp/**</exclude> <!--
already checked -->
+
<exclude>tika-parser-nlp-module/src/test/resources/org/apache/tika/parser/ner/opennlp/**</exclude>
<!-- already checked -->
</excludes>
</configuration>
</plugin>