This is an automated email from the ASF dual-hosted git repository.

tallison pushed a commit to branch TIKA-4685-annotation-processor
in repository https://gitbox.apache.org/repos/asf/tika.git

commit c8119d0331e77ee92f888eabf8e82b9d58ec7421
Author: tballison <[email protected]>
AuthorDate: Fri Mar 6 17:35:07 2026 -0500

    TIKA-4685 - add annotation processor for jdk >23
---
 tika-encoding-detectors/pom.xml | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/tika-encoding-detectors/pom.xml b/tika-encoding-detectors/pom.xml
index 720a4d5120..fbfcec5e26 100644
--- a/tika-encoding-detectors/pom.xml
+++ b/tika-encoding-detectors/pom.xml
@@ -40,4 +40,27 @@
     <module>tika-encoding-detector-mojibuster</module>
     <module>tika-encoding-detector-charsoup</module>
   </modules>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <configuration>
+          <annotationProcessorPaths>
+            <path>
+              <groupId>org.apache.tika</groupId>
+              <artifactId>tika-annotation-processor</artifactId>
+              <version>${project.version}</version>
+            </path>
+            <path>
+              <groupId>org.apache.tika</groupId>
+              <artifactId>tika-core</artifactId>
+              <version>${project.version}</version>
+            </path>
+          </annotationProcessorPaths>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
 </project>

Reply via email to