You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ch...@apache.org on 2020/02/26 12:22:30 UTC

[flink] branch release-1.10 updated: [FLINK-16231][hive][build] Add missing jdk.tools exclusion

This is an automated email from the ASF dual-hosted git repository.

chesnay pushed a commit to branch release-1.10
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/release-1.10 by this push:
     new 3ca9a66  [FLINK-16231][hive][build] Add missing jdk.tools exclusion
3ca9a66 is described below

commit 3ca9a6621783e3db37e3c8103cbdaae8fc6a2bb8
Author: Chesnay Schepler <ch...@apache.org>
AuthorDate: Sat Feb 22 10:34:27 2020 +0100

    [FLINK-16231][hive][build] Add missing jdk.tools exclusion
    
    Failed the build on Java 11 with Hive 2.x.y profiles.
---
 flink-connectors/flink-connector-hive/pom.xml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/flink-connectors/flink-connector-hive/pom.xml b/flink-connectors/flink-connector-hive/pom.xml
index 16ec6ae..5854775 100644
--- a/flink-connectors/flink-connector-hive/pom.xml
+++ b/flink-connectors/flink-connector-hive/pom.xml
@@ -643,6 +643,12 @@ under the License.
 			<artifactId>hive-webhcat-java-client</artifactId>
 			<version>${hive.version}</version>
 			<scope>test</scope>
+			<exclusions>
+				<exclusion>
+					<groupId>jdk.tools</groupId>
+					<artifactId>jdk.tools</artifactId>
+				</exclusion>
+			</exclusions>
 		</dependency>
 
 		<!-- TODO: move to flink-connector-hive-test end-to-end test module once it's setup -->