[ https://issues.apache.org/jira/browse/MNG-7865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karl Heinz Marbaise updated MNG-7865: ------------------------------------- Description: Checking if our builds are working on JDK21 if we not overlook issues. For final RC. *Known Issues/Hints* * Building Maven on JDK 21 will fail based on the usage of spotless-maven-plugin version 2.37.0 unfortunately upgrade to 2.38.0 wil fail also. ** Created an issue https://github.com/diffplug/spotless/issues/1791 for that. ** Current work-a-round: {{-Dspotless.check.skip}} which will ignore spotless. * The following WARNING are emitted by the current build using JDK 21: {code} [INFO] --- compiler:3.11.0:compile (default-compile) @ maven-api-meta --- [INFO] Changes detected - recompiling the module! :source [INFO] Compiling 10 source files with javac [debug target 1.8] to target/classes [WARNING] bootstrap class path not set in conjunction with -source 8 [WARNING] source value 8 is obsolete and will be removed in a future release [WARNING] target value 8 is obsolete and will be removed in a future release [WARNING] To suppress warnings about obsolete options, use -Xlint:-options. {code} was: Checking if our builds are working on JDK21 if we not overlook issues. For final RC. *Known Issues* * Building Maven on JDK 21 will fail based on the usage of spotless-maven-plugin version 2.37.0 unfortunately upgrade to 2.38.0 wil fail also. ** Created an issue https://github.com/diffplug/spotless/issues/1791 for that. ** Current work-a-round: {{-Dspotless.check.skip}} which will ignore spotless. > JDK 21 Test Build > ----------------- > > Key: MNG-7865 > URL: https://issues.apache.org/jira/browse/MNG-7865 > Project: Maven > Issue Type: Task > Affects Versions: 3.9.4, 4.0.0-alpha-7 > Reporter: Karl Heinz Marbaise > Assignee: Karl Heinz Marbaise > Priority: Major > > Checking if our builds are working on JDK21 if we not overlook issues. For > final RC. > *Known Issues/Hints* > * Building Maven on JDK 21 will fail based on the usage of > spotless-maven-plugin version 2.37.0 unfortunately upgrade to 2.38.0 wil fail > also. > ** Created an issue https://github.com/diffplug/spotless/issues/1791 for that. > ** Current work-a-round: {{-Dspotless.check.skip}} which will ignore spotless. > * The following WARNING are emitted by the current build using JDK 21: > {code} > [INFO] --- compiler:3.11.0:compile (default-compile) @ maven-api-meta --- > [INFO] Changes detected - recompiling the module! :source > [INFO] Compiling 10 source files with javac [debug target 1.8] to > target/classes > [WARNING] bootstrap class path not set in conjunction with -source 8 > [WARNING] source value 8 is obsolete and will be removed in a future release > [WARNING] target value 8 is obsolete and will be removed in a future release > [WARNING] To suppress warnings about obsolete options, use -Xlint:-options. > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)