OK, I got this error when compiling with the new shaded jersey [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-shade-plugin:3.1.1:shade > (aggregate-into-a-jar-with-relocated-third-parties) on project > hbase-shaded-mapreduce: Error creating shaded jar: Problem shading JAR > /home/zhangduo/.m2/repository/org/apache/hbase/thirdparty/hbase-shaded-jersey/3.4.0/hbase-shaded-jersey-3.4.0.jar > entry > META-INF/versions/11/org/glassfish/jersey/internal/jsr166/SubmissionPublisher$1.class: > java.lang.IllegalArgumentException -> [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-shade-plugin:3.1.1:shade > (aggregate-into-a-jar-with-relocated-third-parties) on project > hbase-shaded-mapreduce: Error creating shaded jar: Problem shading JAR > /home/zhangduo/.m2/repository/org/apache/hbase/thirdparty/hbase-shaded-jersey/3.4.0/hbase-shaded-jersey-3.4.0.jar > entry > META-INF/versions/11/org/glassfish/jersey/internal/jsr166/SubmissionPublisher$1.class: > java.lang.IllegalArgumentException >
I've already relocated the SubmissionPublisher$1.class under the META-INF/versions/11 so not sure what's the problem... The jersey-common uses "JEP 238: Multi-Release JAR Files" to support JDK11, so I guess the problem is our shade plugin can not deal with multi release jar correctly. Does anyone know multi release jar well? Help needed here. Thanks. 张铎(Duo Zhang) <palomino...@gmail.com> 于2020年7月31日周五 下午10:37写道: > Please vote on this Apache hbase thirdparty release candidate, > hbase-thirdparty-3.4.0RC0 > > The VOTE will remain open for at least 72 hours. > > [ ] +1 Release this package as Apache hbase thirdparty 3.4.0 > [ ] -1 Do not release this package because ... > > The tag to be voted on is 3.4.0RC0: > > https://github.com/apache/hbase-thirdparty/tree/3.4.0RC0 > > The release files, including signatures, digests, as well as CHANGES.md > and RELEASENOTES.md included in this RC can be found at: > > https://dist.apache.org/repos/dist/dev/hbase/3.4.0RC0/ > > Maven artifacts are available in a staging repository at: > > https://repository.apache.org/content/repositories/orgapachehbase-1402/ > > Artifacts were signed with the 9AD2AE49 key which can be found in: > > https://dist.apache.org/repos/dist/release/hbase/KEYS > > We shade jetty and jersey in this version for addressing the conflicts > between jetty 9.3 and 9.4, as hadoop recently upgraded its jetty from 9.3 > to 9.4 in patch releases. > > To learn more about Apache hbase thirdparty, please see > > http://hbase.apache.org/ > > Thanks, > Your HBase Release Manager >