You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by re...@apache.org on 2026/05/25 12:38:55 UTC
(jackrabbit-oak) branch trunk updated: OAK-12226: oak-jackrabbit-api should (still) target Java 11 (#2916)
This is an automated email from the ASF dual-hosted git repository.
reschke pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git
The following commit(s) were added to refs/heads/trunk by this push:
new 7c71037f2e OAK-12226: oak-jackrabbit-api should (still) target Java 11 (#2916)
7c71037f2e is described below
commit 7c71037f2ee364d7927fd7242405f8ecfb327875
Author: Julian Reschke <re...@apache.org>
AuthorDate: Mon May 25 14:38:49 2026 +0200
OAK-12226: oak-jackrabbit-api should (still) target Java 11 (#2916)
* OAK-12226: oak-jackrabbit-api should (still) target Java 11
* OAK-12226: update README accordingly
---
oak-jackrabbit-api/README.md | 8 ++++++++
oak-jackrabbit-api/pom.xml | 5 +++++
2 files changed, 13 insertions(+)
diff --git a/oak-jackrabbit-api/README.md b/oak-jackrabbit-api/README.md
index 54b12b5a1f..f830756dd7 100755
--- a/oak-jackrabbit-api/README.md
+++ b/oak-jackrabbit-api/README.md
@@ -7,6 +7,14 @@ use these interfaces to access implementation-specific functionality.
(Copied over from the original Jackrabbit project, see OAK-8339 for details)
+Java 11 Compatibility
+---------------------
+
+*Note*: unlike other Oak components, this one targets Java 11
+so that implementations that are still on Java 11 (for instance,
+Jackrabbit Classic) can implement it.
+
+
License
-------
diff --git a/oak-jackrabbit-api/pom.xml b/oak-jackrabbit-api/pom.xml
index d69c82a1a0..a6194bdb30 100644
--- a/oak-jackrabbit-api/pom.xml
+++ b/oak-jackrabbit-api/pom.xml
@@ -29,6 +29,11 @@
<name>Jackrabbit API</name>
+ <properties>
+ <!-- OAK-12226 -->
+ <maven.compiler.release>11</maven.compiler.release>
+ </properties>
+
<build>
<plugins>
<plugin>