You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by re...@apache.org on 2024/01/12 16:15:11 UTC

(jackrabbit) branch JCR-5018 created (now 2501b12ac)

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

reschke pushed a change to branch JCR-5018
in repository https://gitbox.apache.org/repos/asf/jackrabbit.git


      at 2501b12ac JCR-5018: bump up minimal Java version to 11

This branch includes the following new commits:

     new 2501b12ac JCR-5018: bump up minimal Java version to 11

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(jackrabbit) 01/01: JCR-5018: bump up minimal Java version to 11

Posted by re...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

reschke pushed a commit to branch JCR-5018
in repository https://gitbox.apache.org/repos/asf/jackrabbit.git

commit 2501b12ac465555130ad2377cdf937f1d4188a35
Author: Julian Reschke <re...@apache.org>
AuthorDate: Fri Jan 12 17:14:58 2024 +0100

    JCR-5018: bump up minimal Java version to 11
---
 README.txt                |  2 +-
 jackrabbit-parent/pom.xml | 31 +++++++------------------------
 2 files changed, 8 insertions(+), 25 deletions(-)

diff --git a/README.txt b/README.txt
index cbf57b754..776b26e2d 100644
--- a/README.txt
+++ b/README.txt
@@ -19,7 +19,7 @@ You can build Jackrabbit like this:
 
     mvn clean install
 
-You need Maven 3 (or higher) with Java 8 (or higher) for the
+You need Maven 3 (or higher) with Java 11 (or higher) for the
 build. For more instructions, please see the documentation at:
 
    http://jackrabbit.apache.org/building-jackrabbit.html
diff --git a/jackrabbit-parent/pom.xml b/jackrabbit-parent/pom.xml
index 1d512c978..7a3caf124 100644
--- a/jackrabbit-parent/pom.xml
+++ b/jackrabbit-parent/pom.xml
@@ -64,8 +64,10 @@
     <slf4j.api.version>1.7.36</slf4j.api.version>
     <slf4j.version>1.7.36</slf4j.version> <!-- sync with logback version -->
     <logback.version>1.2.11</logback.version>
-    <java.version>1.8</java.version>
-    <java.version.signature>java18</java.version.signature>
+    <java.version>11</java.version>
+    <maven.compiler.release>${java.version}</maven.compiler.release>
+    <maven.compiler.target>${java.version}</maven.compiler.target>
+    <minimalJavaBuildVersion>${java.version}</minimalJavaBuildVersion>
     <skip.coverage>true</skip.coverage>
     <minimum.line.coverage>0.0</minimum.line.coverage>
     <minimum.branch.coverage>0.0</minimum.branch.coverage>
@@ -204,29 +206,10 @@
       <plugin>
         <artifactId>maven-compiler-plugin</artifactId>
         <configuration>
-          <target>${java.version}</target>
-          <source>${java.version}</source>
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>animal-sniffer-maven-plugin</artifactId>
-        <version>1.23</version>
-        <configuration>
-          <signature>
-            <groupId>org.codehaus.mojo.signature</groupId>
-            <artifactId>${java.version.signature}</artifactId>
-            <version>1.0</version>
-          </signature>
+          <compilerArgs>
+            <arg>-Xpkginfo:always</arg>
+          </compilerArgs>
         </configuration>
-        <executions>
-          <execution>
-            <phase>compile</phase>
-            <goals>
-              <goal>check</goal>
-            </goals>
-          </execution>
-        </executions>
       </plugin>
       <!-- Generate aggregate Javadocs -->
       <plugin>