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

tallison 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 b3023c47bc TIKA-4685 - add annotation processor for jdk >23 (#2679)
b3023c47bc is described below

commit b3023c47bcddc80e85e450f2801c5386859e74f8
Author: Tim Allison <[email protected]>
AuthorDate: Sat Mar 7 11:49:46 2026 -0500

    TIKA-4685 - add annotation processor for jdk >23 (#2679)
---
 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