[ https://issues.apache.org/jira/browse/HBASE-29455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18007786#comment-18007786 ]
Duo Zhang commented on HBASE-29455: ----------------------------------- In the newest create-release script, we will switch to use jdk17 when running spotless, so it should not be a problem for releasing? > Spotless upgrade breaks builds with Java 8 (branch-2.5) > ------------------------------------------------------- > > Key: HBASE-29455 > URL: https://issues.apache.org/jira/browse/HBASE-29455 > Project: HBase > Issue Type: Bug > Affects Versions: 2.5.12 > Reporter: Andrew Kyle Purtell > Assignee: Andrew Kyle Purtell > Priority: Minor > Fix For: 2.5.12 > > > HBASE-29344 broke build with Java 8, required for releasing 2.5. > 14:34:35 [ERROR] Failed to execute goal > com.diffplug.spotless:spotless-maven-plugin:2.44.4:apply (default-cli) on > project hbase: Execution default-cli of goal > com.diffplug.spotless:spotless-maven-plugin:2.44.4:apply failed: Unable to > load the mojo 'apply' in the plugin > 'com.diffplug.spotless:spotless-maven-plugin:2.44.4' due to an API > incompatibility: > org.codehaus.plexus.component.repository.exception.ComponentLookupException: > com/diffplug/spotless/maven/SpotlessApplyMojo has been compiled by a more > recent version of the Java Runtime (class file version 55.0), this version of > the Java Runtime only recognizes class file versions up to 52.0 -- This message was sent by Atlassian Jira (v8.20.10#820010)