[ https://issues.apache.org/jira/browse/HBASE-29455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18007878#comment-18007878 ]
Andrew Kyle Purtell commented on HBASE-29455: --------------------------------------------- I don't use the docker image and don't have jdk17 in my environment. I use a VM with Java 8 only. So it's a problem for my releasing, at least. I can try switching away for next time, or we can stop releasing 2.5, but having a stable build environment is important so I wouldn't want to switch last minute. > 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)