This is an automated email from the ASF dual-hosted git repository. aloyszhang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/inlong.git
The following commit(s) were added to refs/heads/master by this push: new cef2dbdc15 [INLONG-11471][CI] Exclude useless artifact in hadoop-common (#11472) cef2dbdc15 is described below commit cef2dbdc1545a7187e67f842411082f6c19102e8 Author: AloysZhang <aloyszh...@apache.org> AuthorDate: Tue Nov 12 14:35:16 2024 +0800 [INLONG-11471][CI] Exclude useless artifact in hadoop-common (#11472) --- inlong-sdk/transform-sdk/pom.xml | 24 +++++++++++++++++++ inlong-sort-standalone/pom.xml | 26 ++++++++++++++++++++ inlong-sort/sort-core/pom.xml | 28 ++++++++++++++++++++++ .../sort-flink-v1.13/sort-connectors/hbase/pom.xml | 28 ++++++++++++++++++++++ .../sort-flink-v1.13/sort-connectors/jdbc/pom.xml | 28 ++++++++++++++++++++++ .../sort-flink-v1.15/sort-connectors/hbase/pom.xml | 28 ++++++++++++++++++++++ .../sort-connectors/iceberg/pom.xml | 28 ++++++++++++++++++++++ .../sort-flink-v1.15/sort-connectors/jdbc/pom.xml | 28 ++++++++++++++++++++++ 8 files changed, 218 insertions(+) diff --git a/inlong-sdk/transform-sdk/pom.xml b/inlong-sdk/transform-sdk/pom.xml index 495fc60334..18db54765e 100644 --- a/inlong-sdk/transform-sdk/pom.xml +++ b/inlong-sdk/transform-sdk/pom.xml @@ -72,6 +72,30 @@ <dependency> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-common</artifactId> + <exclusions> + <exclusion> + <groupId>javax.servlet</groupId> + <artifactId>servlet-api</artifactId> + </exclusion> + <exclusion> + <groupId>javax.servlet.jsp</groupId> + <artifactId>jsp-api</artifactId> + </exclusion> + <exclusion> + <!-- jdk.tools, the source code and LICENSE declaration are not found, + MUST be excluded in the distribution package --> + <groupId>jdk.tools</groupId> + <artifactId>jdk.tools</artifactId> + </exclusion> + <exclusion> + <groupId>com.github.stephenc.jcip</groupId> + <artifactId>jcip-annotations</artifactId> + </exclusion> + <exclusion> + <groupId>net.minidev</groupId> + <artifactId>json-smart</artifactId> + </exclusion> + </exclusions> </dependency> <dependency> <groupId>org.apache.hadoop</groupId> diff --git a/inlong-sort-standalone/pom.xml b/inlong-sort-standalone/pom.xml index b55ce9ba4b..99cd735f97 100644 --- a/inlong-sort-standalone/pom.xml +++ b/inlong-sort-standalone/pom.xml @@ -174,6 +174,32 @@ <groupId>com.google.protobuf</groupId> <artifactId>protobuf-java</artifactId> </exclusion> + <exclusion> + <groupId>javax.servlet</groupId> + <artifactId>servlet-api</artifactId> + </exclusion> + <exclusion> + <groupId>javax.servlet.jsp</groupId> + <artifactId>jsp-api</artifactId> + </exclusion> + <exclusion> + <!-- jdk.tools, the source code and LICENSE declaration are not found, + MUST be excluded in the distribution package --> + <groupId>jdk.tools</groupId> + <artifactId>jdk.tools</artifactId> + </exclusion> + <exclusion> + <groupId>com.github.stephenc.jcip</groupId> + <artifactId>jcip-annotations</artifactId> + </exclusion> + <exclusion> + <groupId>net.minidev</groupId> + <artifactId>json-smart</artifactId> + </exclusion> + <exclusion> + <groupId>com.fasterxml.woodstox</groupId> + <artifactId>woodstox-core</artifactId> + </exclusion> </exclusions> </dependency> <dependency> diff --git a/inlong-sort/sort-core/pom.xml b/inlong-sort/sort-core/pom.xml index 0ad94493d3..7d20ed65a8 100644 --- a/inlong-sort/sort-core/pom.xml +++ b/inlong-sort/sort-core/pom.xml @@ -76,6 +76,34 @@ <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-common</artifactId> <scope>test</scope> + <exclusions> + <exclusion> + <groupId>javax.servlet</groupId> + <artifactId>servlet-api</artifactId> + </exclusion> + <exclusion> + <groupId>javax.servlet.jsp</groupId> + <artifactId>jsp-api</artifactId> + </exclusion> + <exclusion> + <!-- jdk.tools, the source code and LICENSE declaration are not found, + MUST be excluded in the distribution package --> + <groupId>jdk.tools</groupId> + <artifactId>jdk.tools</artifactId> + </exclusion> + <exclusion> + <groupId>com.github.stephenc.jcip</groupId> + <artifactId>jcip-annotations</artifactId> + </exclusion> + <exclusion> + <groupId>net.minidev</groupId> + <artifactId>json-smart</artifactId> + </exclusion> + <exclusion> + <groupId>com.fasterxml.woodstox</groupId> + <artifactId>woodstox-core</artifactId> + </exclusion> + </exclusions> </dependency> </dependencies> diff --git a/inlong-sort/sort-flink/sort-flink-v1.13/sort-connectors/hbase/pom.xml b/inlong-sort/sort-flink/sort-flink-v1.13/sort-connectors/hbase/pom.xml index 7cc096a93b..973d5d93b2 100644 --- a/inlong-sort/sort-flink/sort-flink-v1.13/sort-connectors/hbase/pom.xml +++ b/inlong-sort/sort-flink/sort-flink-v1.13/sort-connectors/hbase/pom.xml @@ -62,6 +62,34 @@ <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-common</artifactId> <scope>provided</scope> + <exclusions> + <exclusion> + <groupId>javax.servlet</groupId> + <artifactId>servlet-api</artifactId> + </exclusion> + <exclusion> + <groupId>javax.servlet.jsp</groupId> + <artifactId>jsp-api</artifactId> + </exclusion> + <exclusion> + <!-- jdk.tools, the source code and LICENSE declaration are not found, + MUST be excluded in the distribution package --> + <groupId>jdk.tools</groupId> + <artifactId>jdk.tools</artifactId> + </exclusion> + <exclusion> + <groupId>com.github.stephenc.jcip</groupId> + <artifactId>jcip-annotations</artifactId> + </exclusion> + <exclusion> + <groupId>net.minidev</groupId> + <artifactId>json-smart</artifactId> + </exclusion> + <exclusion> + <groupId>com.fasterxml.woodstox</groupId> + <artifactId>woodstox-core</artifactId> + </exclusion> + </exclusions> </dependency> </dependencies> diff --git a/inlong-sort/sort-flink/sort-flink-v1.13/sort-connectors/jdbc/pom.xml b/inlong-sort/sort-flink/sort-flink-v1.13/sort-connectors/jdbc/pom.xml index 5b2045036a..d398ced147 100644 --- a/inlong-sort/sort-flink/sort-flink-v1.13/sort-connectors/jdbc/pom.xml +++ b/inlong-sort/sort-flink/sort-flink-v1.13/sort-connectors/jdbc/pom.xml @@ -80,6 +80,34 @@ <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-common</artifactId> <scope>provided</scope> + <exclusions> + <exclusion> + <groupId>javax.servlet</groupId> + <artifactId>servlet-api</artifactId> + </exclusion> + <exclusion> + <groupId>javax.servlet.jsp</groupId> + <artifactId>jsp-api</artifactId> + </exclusion> + <exclusion> + <!-- jdk.tools, the source code and LICENSE declaration are not found, + MUST be excluded in the distribution package --> + <groupId>jdk.tools</groupId> + <artifactId>jdk.tools</artifactId> + </exclusion> + <exclusion> + <groupId>com.github.stephenc.jcip</groupId> + <artifactId>jcip-annotations</artifactId> + </exclusion> + <exclusion> + <groupId>net.minidev</groupId> + <artifactId>json-smart</artifactId> + </exclusion> + <exclusion> + <groupId>com.fasterxml.woodstox</groupId> + <artifactId>woodstox-core</artifactId> + </exclusion> + </exclusions> </dependency> </dependencies> diff --git a/inlong-sort/sort-flink/sort-flink-v1.15/sort-connectors/hbase/pom.xml b/inlong-sort/sort-flink/sort-flink-v1.15/sort-connectors/hbase/pom.xml index b6a6b813e2..8001549a15 100644 --- a/inlong-sort/sort-flink/sort-flink-v1.15/sort-connectors/hbase/pom.xml +++ b/inlong-sort/sort-flink/sort-flink-v1.15/sort-connectors/hbase/pom.xml @@ -63,6 +63,34 @@ <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-common</artifactId> <scope>provided</scope> + <exclusions> + <exclusion> + <groupId>javax.servlet</groupId> + <artifactId>servlet-api</artifactId> + </exclusion> + <exclusion> + <groupId>javax.servlet.jsp</groupId> + <artifactId>jsp-api</artifactId> + </exclusion> + <exclusion> + <!-- jdk.tools, the source code and LICENSE declaration are not found, + MUST be excluded in the distribution package --> + <groupId>jdk.tools</groupId> + <artifactId>jdk.tools</artifactId> + </exclusion> + <exclusion> + <groupId>com.github.stephenc.jcip</groupId> + <artifactId>jcip-annotations</artifactId> + </exclusion> + <exclusion> + <groupId>net.minidev</groupId> + <artifactId>json-smart</artifactId> + </exclusion> + <exclusion> + <groupId>com.fasterxml.woodstox</groupId> + <artifactId>woodstox-core</artifactId> + </exclusion> + </exclusions> </dependency> <dependency> <groupId>org.apache.inlong</groupId> diff --git a/inlong-sort/sort-flink/sort-flink-v1.15/sort-connectors/iceberg/pom.xml b/inlong-sort/sort-flink/sort-flink-v1.15/sort-connectors/iceberg/pom.xml index d85fccc3dd..e86ebe1c00 100644 --- a/inlong-sort/sort-flink/sort-flink-v1.15/sort-connectors/iceberg/pom.xml +++ b/inlong-sort/sort-flink/sort-flink-v1.15/sort-connectors/iceberg/pom.xml @@ -80,6 +80,34 @@ <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-common</artifactId> <scope>provided</scope> + <exclusions> + <exclusion> + <groupId>javax.servlet</groupId> + <artifactId>servlet-api</artifactId> + </exclusion> + <exclusion> + <groupId>javax.servlet.jsp</groupId> + <artifactId>jsp-api</artifactId> + </exclusion> + <exclusion> + <!-- jdk.tools, the source code and LICENSE declaration are not found, + MUST be excluded in the distribution package --> + <groupId>jdk.tools</groupId> + <artifactId>jdk.tools</artifactId> + </exclusion> + <exclusion> + <groupId>com.github.stephenc.jcip</groupId> + <artifactId>jcip-annotations</artifactId> + </exclusion> + <exclusion> + <groupId>net.minidev</groupId> + <artifactId>json-smart</artifactId> + </exclusion> + <exclusion> + <groupId>com.fasterxml.woodstox</groupId> + <artifactId>woodstox-core</artifactId> + </exclusion> + </exclusions> </dependency> <dependency> <groupId>org.apache.parquet</groupId> diff --git a/inlong-sort/sort-flink/sort-flink-v1.15/sort-connectors/jdbc/pom.xml b/inlong-sort/sort-flink/sort-flink-v1.15/sort-connectors/jdbc/pom.xml index ca168568fa..501481d3ef 100644 --- a/inlong-sort/sort-flink/sort-flink-v1.15/sort-connectors/jdbc/pom.xml +++ b/inlong-sort/sort-flink/sort-flink-v1.15/sort-connectors/jdbc/pom.xml @@ -64,6 +64,34 @@ <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-common</artifactId> <scope>provided</scope> + <exclusions> + <exclusion> + <groupId>javax.servlet</groupId> + <artifactId>servlet-api</artifactId> + </exclusion> + <exclusion> + <groupId>javax.servlet.jsp</groupId> + <artifactId>jsp-api</artifactId> + </exclusion> + <exclusion> + <!-- jdk.tools, the source code and LICENSE declaration are not found, + MUST be excluded in the distribution package --> + <groupId>jdk.tools</groupId> + <artifactId>jdk.tools</artifactId> + </exclusion> + <exclusion> + <groupId>com.github.stephenc.jcip</groupId> + <artifactId>jcip-annotations</artifactId> + </exclusion> + <exclusion> + <groupId>net.minidev</groupId> + <artifactId>json-smart</artifactId> + </exclusion> + <exclusion> + <groupId>com.fasterxml.woodstox</groupId> + <artifactId>woodstox-core</artifactId> + </exclusion> + </exclusions> </dependency> </dependencies>