From df00b2815c6f94645175c1f8decfef38d2a9b198 Mon Sep 17 00:00:00 2001 From: Stefano Cordio Date: Thu, 25 Apr 2024 21:32:43 +0200 Subject: [PATCH] Raise required Java version to 17 This change moves the module descriptor of the core module to its main sources and removes the additional compiler execution. However, the module path is ignored when compiling and executing the test sources of the core module. Co-authored-by: aalmiray@users.noreply.github.com Co-authored-by: RaphaelJenni@users.noreply.github.com Co-authored-by: SimonHarte@users.noreply.github.com --- assertj-core/pom.xml | 17 ++--------------- .../src/main/{java9 => java}/module-info.java | 0 assertj-parent/pom.xml | 4 +--- 3 files changed, 3 insertions(+), 18 deletions(-) rename assertj-core/src/main/{java9 => java}/module-info.java (100%) diff --git a/assertj-core/pom.xml b/assertj-core/pom.xml index e33197a47f..93d60420a1 100644 --- a/assertj-core/pom.xml +++ b/assertj-core/pom.xml @@ -314,27 +314,14 @@ true true + false - - - jdk9 - - compile - - - 9 - - ${project.basedir}/src/main/java9 - - true - - - org.apache.maven.plugins maven-surefire-plugin + false false org/assertj/core/internal/objects/Objects_assertHasOnlyFields_Test* diff --git a/assertj-core/src/main/java9/module-info.java b/assertj-core/src/main/java/module-info.java similarity index 100% rename from assertj-core/src/main/java9/module-info.java rename to assertj-core/src/main/java/module-info.java diff --git a/assertj-parent/pom.xml b/assertj-parent/pom.xml index ac75601a2b..30873df3f5 100644 --- a/assertj-parent/pom.xml +++ b/assertj-parent/pom.xml @@ -16,11 +16,9 @@ -Xdoclint:none - 8 + 17 true ${java.version} - ${java.version} - ${java.version} UTF-8 UTF-8 true