You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@paimon.apache.org by lz...@apache.org on 2023/09/13 06:00:04 UTC
[incubator-paimon-shade] branch main updated: [ci] Adapt JarFileChecker to the new plugin package layout (#13)
This is an automated email from the ASF dual-hosted git repository.
lzljs3620320 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-paimon-shade.git
The following commit(s) were added to refs/heads/main by this push:
new ac52f5b [ci] Adapt JarFileChecker to the new plugin package layout (#13)
ac52f5b is described below
commit ac52f5bdaab7a037f31af40fb2523db8f2278dfc
Author: tsreaper <ts...@gmail.com>
AuthorDate: Wed Sep 13 13:59:59 2023 +0800
[ci] Adapt JarFileChecker to the new plugin package layout (#13)
---
.../java/org/apache/paimon/tools/ci/licensecheck/JarFileChecker.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/ci/paimon-ci-tools/src/main/java/org/apache/paimon/tools/ci/licensecheck/JarFileChecker.java b/tools/ci/paimon-ci-tools/src/main/java/org/apache/paimon/tools/ci/licensecheck/JarFileChecker.java
index c3b05cb..f0d3fe4 100644
--- a/tools/ci/paimon-ci-tools/src/main/java/org/apache/paimon/tools/ci/licensecheck/JarFileChecker.java
+++ b/tools/ci/paimon-ci-tools/src/main/java/org/apache/paimon/tools/ci/licensecheck/JarFileChecker.java
@@ -203,7 +203,7 @@ public class JarFileChecker {
.filter(path -> !getFileName(path).startsWith("notice"))
// dual-licensed under GPL 2 and CDDL 1.1
// contained in hadoop/presto S3 FS and paimon-dist
- .filter(path -> !pathStartsWith(path, "/META-INF/versions/11/javax/xml/bind"))
+ .filter(path -> !path.toString().contains("/META-INF/versions/11/javax/xml/bind"))
.filter(path -> !isJavaxManifest(jar, path))
// dual-licensed under GPL 2 and EPL 2.0
// contained in sql-avro-confluent-registry