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 bc16d73  [FLINK-13398][hive][build] Exclude jdk.tools
bc16d73 is described below

commit bc16d7322b7b58946aa8e23caa3df9a8401097aa
Author: Chesnay Schepler <[email protected]>
AuthorDate: Wed Jul 24 13:00:06 2019 +0200

    [FLINK-13398][hive][build] Exclude jdk.tools
    
    Specify a direct exclusion for jdk.tools on the root dependencies, since 
dependencyManagement entries for transitive are ignored by the shade-plugin 
artifact resolution.
---
 flink-connectors/flink-connector-hive/pom.xml | 27 ++++++++++-----------------
 1 file changed, 10 insertions(+), 17 deletions(-)

diff --git a/flink-connectors/flink-connector-hive/pom.xml 
b/flink-connectors/flink-connector-hive/pom.xml
index 5397312..b8f010c 100644
--- a/flink-connectors/flink-connector-hive/pom.xml
+++ b/flink-connectors/flink-connector-hive/pom.xml
@@ -404,6 +404,11 @@ under the License.
                                        <groupId>org.apache.tez</groupId>
                                        <artifactId>tez-mapreduce</artifactId>
                                </exclusion>
+                               <exclusion>
+                                       <!-- This dependency is not available 
with java 9.-->
+                                       <groupId>jdk.tools</groupId>
+                                       <artifactId>jdk.tools</artifactId>
+                               </exclusion>
             </exclusions>
         </dependency>
 
@@ -439,6 +444,11 @@ under the License.
                                        <groupId>com.google.guava</groupId>
                                        <artifactId>guava</artifactId>
                                </exclusion>
+                               <exclusion>
+                                       <!-- This dependency is not available 
with java 9.-->
+                                       <groupId>jdk.tools</groupId>
+                                       <artifactId>jdk.tools</artifactId>
+                               </exclusion>
                        </exclusions>
         </dependency>
 
@@ -536,23 +546,6 @@ under the License.
                                        </plugin>
                                </plugins>
                        </build>
-
-                       <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>

Reply via email to