You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by kw...@apache.org on 2025/07/17 12:55:40 UTC

(jackrabbit-filevault) branch master updated: Explicitly enable annotation processor to be compliant with Java23+

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

kwin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jackrabbit-filevault.git


The following commit(s) were added to refs/heads/master by this push:
     new 233b1542 Explicitly enable annotation processor to be compliant with Java23+
233b1542 is described below

commit 233b154238120f0f57fb1bdc60a449df276fcf28
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Thu Jul 17 14:27:10 2025 +0200

    Explicitly enable annotation processor to be compliant with Java23+
    
    https://inside.java/2024/06/18/quality-heads-up/
---
 .../vault-core-it-support-jackrabbit/pom.xml              | 15 +++++++++++++++
 .../vault-core-it-support-oak/pom.xml                     | 15 +++++++++++++++
 2 files changed, 30 insertions(+)

diff --git a/vault-core-it/vault-core-it-support/vault-core-it-support-jackrabbit/pom.xml b/vault-core-it/vault-core-it-support/vault-core-it-support-jackrabbit/pom.xml
index 58e8814e..967d8525 100644
--- a/vault-core-it/vault-core-it-support/vault-core-it-support-jackrabbit/pom.xml
+++ b/vault-core-it/vault-core-it-support/vault-core-it-support-jackrabbit/pom.xml
@@ -33,6 +33,21 @@
     <name>Apache Jackrabbit FileVault Core IT Support Classes for Jackrabbit 2 Repositories</name>
     <description>Provides repository provider for Jackrabbit</description>
 
+    <build>
+        <pluginManagement>
+            <plugins>
+                <plugin>
+                    <artifactId>maven-compiler-plugin</artifactId>
+                    <configuration>
+                        <annotationProcessors>
+                            <!-- generate META-INF/services-->
+                            <annotationProcessor>org.kohsuke.metainf_services.AnnotationProcessorImpl</annotationProcessor>
+                        </annotationProcessors>
+                    </configuration>
+                </plugin>
+            </plugins>
+        </pluginManagement>
+    </build>
     <!-- ====================================================================== -->
     <!-- D E P E N D E N C I E S                                                -->
     <!-- ====================================================================== -->
diff --git a/vault-core-it/vault-core-it-support/vault-core-it-support-oak/pom.xml b/vault-core-it/vault-core-it-support/vault-core-it-support-oak/pom.xml
index dbcdd036..9d0dcca7 100644
--- a/vault-core-it/vault-core-it-support/vault-core-it-support-oak/pom.xml
+++ b/vault-core-it/vault-core-it-support/vault-core-it-support-oak/pom.xml
@@ -33,6 +33,21 @@
     <name>Apache Jackrabbit FileVault Core IT Support Classes for Oak Repositories</name>
     <description>Provides repository provider for Oak</description>
 
+    <build>
+        <pluginManagement>
+            <plugins>
+                <plugin>
+                    <artifactId>maven-compiler-plugin</artifactId>
+                    <configuration>
+                        <annotationProcessors>
+                            <!-- generate META-INF/services-->
+                            <annotationProcessor>org.kohsuke.metainf_services.AnnotationProcessorImpl</annotationProcessor>
+                        </annotationProcessors>
+                    </configuration>
+                </plugin>
+            </plugins>
+        </pluginManagement>
+    </build>
     <!-- ====================================================================== -->
     <!-- D E P E N D E N C I E S                                                -->
     <!-- ====================================================================== -->