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 2019/07/11 10:55:36 UTC
[flink] branch master updated: [FLINK-13214][hive] Add jdk.tools
exclusion for Java 9
This is an automated email from the ASF dual-hosted git repository.
chesnay pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/master by this push:
new bdcadfa [FLINK-13214][hive] Add jdk.tools exclusion for Java 9
bdcadfa is described below
commit bdcadfa2df3a39dbd3ddc4d7390ac66d76057b5c
Author: Chesnay Schepler <ch...@apache.org>
AuthorDate: Thu Jul 11 12:55:10 2019 +0200
[FLINK-13214][hive] Add jdk.tools exclusion for Java 9
---
flink-connectors/flink-connector-hive/pom.xml | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/flink-connectors/flink-connector-hive/pom.xml b/flink-connectors/flink-connector-hive/pom.xml
index 5ceab9d..1e5ded2 100644
--- a/flink-connectors/flink-connector-hive/pom.xml
+++ b/flink-connectors/flink-connector-hive/pom.xml
@@ -533,5 +533,28 @@ under the License.
<hiverunner.version>3.2.1</hiverunner.version>
</properties>
</profile>
+ <profile>
+ <id>java9</id>
+ <activation>
+ <jdk>9</jdk>
+ </activation>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.hbase</groupId>
+ <artifactId>hbase-annotations</artifactId>
+ <scope>test</scope>
+ <exclusions>
+ <exclusion>
+ <!-- This dependency is not available with java 9.-->
+ <groupId>jdk.tools</groupId>
+ <artifactId>jdk.tools</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+ </profile>
</profiles>
</project>