[
https://issues.apache.org/jira/browse/HBASE-29583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tak-Lon (Stephen) Wu resolved HBASE-29583.
------------------------------------------
Hadoop Flags: Reviewed
Resolution: Fixed
code merged
> Fix Shading issue with JDK17
> ----------------------------
>
> Key: HBASE-29583
> URL: https://issues.apache.org/jira/browse/HBASE-29583
> Project: HBase
> Issue Type: Bug
> Components: hbck2
> Affects Versions: 4.0.0-alpha-1
> Reporter: Richárd Antal
> Assignee: Richárd Antal
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0-alpha-1
>
>
> When running the following command with JDK17 we face some issues with
> maven-shade-plugin.
> {code:java}
> mvn -Dmaven.compiler.source=17 -Dmaven.compiler.target=17
> -Dmaven.compiler.release=17 clean install -DskipTests{code}
> build fails with error:
> {code:java}
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-shade-plugin:3.1.1:shade (default) on project
> hbase-table-reporter: Error creating shaded jar: null:
> IllegalArgumentException -> [Help 1]{code}
> Also bump de.thetaphi:forbiddenapis version to support JDK17
--
This message was sent by Atlassian Jira
(v8.20.10#820010)