This is an automated email from the ASF dual-hosted git repository. slachiewicz pushed a commit to branch try-java-19 in repository https://gitbox.apache.org/repos/asf/maven-compiler-plugin.git
The following commit(s) were added to refs/heads/try-java-19 by this push: new ccdd5da Bump spotless to 2.37.0 ccdd5da is described below commit ccdd5da6ce90bf81d640b157070cab156188d30b Author: Sylwester Lachiewicz <slachiew...@apache.org> AuthorDate: Mon Jun 5 21:25:54 2023 +0200 Bump spotless to 2.37.0 org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.diffplug.spotless:spotless-maven-plugin:2.28.0:check (default) on project maven-compiler-plugin: Execution default of goal com.diffplug.spotless:spotless-maven-plugin:2.28.0:check failed: An API incompatibility was encountered while executing com.diffplug.spotless:spotless-maven-plugin:2.28.0:check: java.lang.NoSuchMethodError: 'com.sun.tools.javac.tree.JCTree com.sun.tools.javac.tree.JCTree$JCImport.ge [...] --- pom.xml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pom.xml b/pom.xml index 07080d3..8a79d11 100644 --- a/pom.xml +++ b/pom.xml @@ -208,6 +208,15 @@ under the License. </repositories> <build> + <pluginManagement> + <plugins> + <plugin> + <groupId>com.diffplug.spotless</groupId> + <artifactId>spotless-maven-plugin</artifactId> + <version>2.37.0</version> + </plugin> + </plugins> + </pluginManagement> <plugins> <plugin> <groupId>org.eclipse.sisu</groupId>