Skip to content

Commit

Permalink
Raise required Java version to 17
Browse files Browse the repository at this point in the history
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: Andres Almiray <aalmiray@users.noreply.github.com>
Co-authored-by: Raphael Jenni <RaphaelJenni@users.noreply.github.com>
Co-authored-by: Simon Harte <SimonHarte@users.noreply.github.com>
  • Loading branch information
4 people committed May 15, 2024
1 parent 4f072c9 commit 2c695fc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 16 deletions.
22 changes: 7 additions & 15 deletions assertj-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -317,26 +317,15 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<executions>
<execution>
<id>jdk9</id>
<goals>
<goal>compile</goal>
</goals>
<configuration>
<release>9</release>
<compileSourceRoots>
<compileSourceRoot>${project.basedir}/src/main/java9</compileSourceRoot>
</compileSourceRoots>
<multiReleaseOutput>true</multiReleaseOutput>
</configuration>
</execution>
</executions>
<configuration>
<useModulePath>false</useModulePath> <!-- FIXME #3446 -->
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<useModulePath>false</useModulePath> <!-- FIXME #3446 -->
<trimStackTrace>false</trimStackTrace>
<excludes>
<exclude>org/assertj/core/internal/objects/Objects_assertHasOnlyFields_Test*</exclude>
Expand Down Expand Up @@ -419,6 +408,9 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<legacyMode>true</legacyMode> <!-- FIXME #3446 -->
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion assertj-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<properties>
<additionalparam>-Xdoclint:none</additionalparam>
<java.version>8</java.version>
<java.version>17</java.version>
<maven.compiler.parameters>true</maven.compiler.parameters>
<maven.compiler.release>${java.version}</maven.compiler.release>
<maven.compiler.source>${java.version}</maven.compiler.source>
Expand Down

0 comments on commit 2c695fc

Please sign in to comment.