This is an automated email from the ASF dual-hosted git repository.
tilman pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tika.git
The following commit(s) were added to refs/heads/main by this push:
new 24318bda3 TIKA-4504: add exclusions
24318bda3 is described below
commit 24318bda3f38267f088ad54406d36a8be764edf8
Author: Tilman Hausherr <[email protected]>
AuthorDate: Mon Oct 6 14:36:59 2025 +0200
TIKA-4504: add exclusions
---
tika-detectors/tika-detector-magika/pom.xml | 9 +++++++++
tika-detectors/tika-detector-siegfried/pom.xml | 9 +++++++++
2 files changed, 18 insertions(+)
diff --git a/tika-detectors/tika-detector-magika/pom.xml
b/tika-detectors/tika-detector-magika/pom.xml
index c4ba65f23..1f894443b 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 b4d7bfea6..08c2a7382 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>