Richárd Antal created HBASE-29584: ------------------------------------- Summary: Fix Shading issue with JDK17 Key: HBASE-29584 URL: https://issues.apache.org/jira/browse/HBASE-29584 Project: HBase Issue Type: Bug Components: hbase-connectors Reporter: Richárd Antal Assignee: Richárd Antal
During the build with JDK17 and extra maven parameters I faced some issues during the maven-shade-plugin {code:java} [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:09 min [INFO] Finished at: 2025-09-10T10:43:05+02:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:3.2.1:shade (default) on project hbase-spark-protocol-shaded: Error creating shaded jar: Problem shading JAR /Users/richardantal/Documents/Cloudera/upstream/hbase-connectors/spark/hbase-spark-protocol/target/hbase-spark-protocol-1.1.0-SNAPSHOT.jar entry org/apache/hadoop/hbase/spark/protobuf/generated/SparkFilterProtos$SQLPredicatePushDownCellToColumnMapping$1.class: java.lang.IllegalArgumentException: Unsupported class file major version 61 -> [Help 1]{code} The command I used {code:java} mvn -Dmaven.compiler.source=17 -Dmaven.compiler.target=17 -Dmaven.compiler.release=17 clean install -DskipTests{code} -- This message was sent by Atlassian Jira (v8.20.10#820010)