Hello Apache Pulsar Community, In Apache Pulsar 2.8.1 RC1, Enrico found "check-binary-license" script fails on the staged tarball ``` ~/dev/pulsar/src/check-binary-license apache-pulsar-2.8.1-bin.tar.gz jetty-alpn-openjdk8-client-9.4.42.v20210604.jar unaccounted for in lib/presto/LICENSE jetty-alpn-java-client-9.4.42.v20210604.jar mentioned in lib/presto/LICENSE, but not bundled ```
After work with Enrico, he found jetty dependency http2-http-client-transport adds transitive dependencies depending on the JDK version https://repo1.maven.org/maven2/org/eclipse/jetty/http2/http2-http-client-transport/9.4.42.v20210604/http2-http-client-transport-9.4.42.v20210604.pom with jdk8: mvn dependency:tree [INFO] | +- io.airlift:http-client:jar:0.195:compile [INFO] | | +- org.eclipse.jetty:jetty-client:jar:9.4.42.v20210604:compile [INFO] | | +- org.eclipse.jetty.http2:http2-client:jar:9.4.42.v20210604:compile [INFO] | | | \- org.eclipse.jetty:jetty-alpn-client:jar:9.4.42.v20210604:compile [INFO] | | +- org.eclipse.jetty.http2:http2-http-client-transport:jar:9.4.42.v20210604:compile [INFO] | | | \- org.eclipse.jetty:jetty-alpn-openjdk8-client:jar:9.4.42.v20210604:compile [INFO] | | \- net.jodah:failsafe:jar:2.0.1:compile with jdk11: [INFO] | +- io.airlift:http-client:jar:0.195:compile [INFO] | | +- org.eclipse.jetty:jetty-client:jar:9.4.42.v20210604:compile [INFO] | | +- org.eclipse.jetty.http2:http2-client:jar:9.4.42.v20210604:compile [INFO] | | | \- org.eclipse.jetty:jetty-alpn-client:jar:9.4.42.v20210604:compile [INFO] | | +- org.eclipse.jetty.http2:http2-http-client-transport:jar:9.4.42.v20210604:compile [INFO] | | | \- org.eclipse.jetty:jetty-alpn-java-client:jar:9.4.42.v20210604:compile In order to solve this issue, I will use JDK11 to release Apache Pulsar 2.8.1 instead of JDK8. JDK11 is compatible with JDK8, and the release target is specified to JDK8. If you have any concerns, please let me know, thanks! Thanks for Enrico's great work. Thanks, Hang