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

adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ratis.git


The following commit(s) were added to refs/heads/master by this push:
     new 5b5e37fa3 RATIS-2356. Define maven.compiler.release globally (#1312)
5b5e37fa3 is described below

commit 5b5e37fa3dd08a8f043a34779de4610f866b219b
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Wed Nov 12 19:15:01 2025 +0100

    RATIS-2356. Define maven.compiler.release globally (#1312)
---
 pom.xml | 20 +-------------------
 1 file changed, 1 insertion(+), 19 deletions(-)

diff --git a/pom.xml b/pom.xml
index 820214c86..3be2213fc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -197,6 +197,7 @@
     <!-- define the Java language version used by the compiler -->
     <javac.version>8</javac.version>
     <java.min.version>${javac.version}</java.min.version>
+    <maven.compiler.release>${javac.version}</maven.compiler.release>
     <maven.min.version>3.3.9</maven.min.version>
 
     <!-- Contains all shaded thirdparty dependencies -->
@@ -814,25 +815,6 @@
   </build>
 
   <profiles>
-    <profile>
-      <id>java8</id>
-      <activation>
-        <jdk>[,8]</jdk>
-      </activation>
-      <properties>
-        <maven.compiler.source>${javac.version}</maven.compiler.source>
-        <maven.compiler.target>${javac.version}</maven.compiler.target>
-      </properties>
-    </profile>
-    <profile>
-      <id>java9-or-later</id>
-      <activation>
-        <jdk>[9,]</jdk>
-      </activation>
-      <properties>
-        <maven.compiler.release>${javac.version}</maven.compiler.release> <!-- 
supported since Java 9 -->
-      </properties>
-    </profile>
     <profile>
       <id>experiments-build</id>
       <activation>

Reply via email to