From 06b081de74cfee7cf5d9338cf5076e4c0f9608a3 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 the core module, executing its tests, and generating the Javadoc. 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 | 20 +++++-------------- .../src/main/{java9 => java}/module-info.java | 0 assertj-parent/pom.xml | 4 +--- 3 files changed, 6 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..e08cd5bdf5 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* @@ -417,6 +404,9 @@ org.apache.maven.plugins maven-javadoc-plugin + + true + org.codehaus.mojo 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