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/31 19:53:35 UTC
[flink-shaded] branch master updated: [FLINK-13455][build] Move
jdk.tools exclusions out of dependency management
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-shaded.git
The following commit(s) were added to refs/heads/master by this push:
new f97c311 [FLINK-13455][build] Move jdk.tools exclusions out of dependency management
f97c311 is described below
commit f97c31126dceef11fd5952f81c095d6005933087
Author: Chesnay Schepler <ch...@apache.org>
AuthorDate: Wed Jul 31 15:27:15 2019 +0200
[FLINK-13455][build] Move jdk.tools exclusions out of dependency management
---
flink-shaded-hadoop-2/pom.xml | 5 +++++
pom.xml | 44 -------------------------------------------
2 files changed, 5 insertions(+), 44 deletions(-)
diff --git a/flink-shaded-hadoop-2/pom.xml b/flink-shaded-hadoop-2/pom.xml
index c577efc..3d87300 100644
--- a/flink-shaded-hadoop-2/pom.xml
+++ b/flink-shaded-hadoop-2/pom.xml
@@ -200,6 +200,11 @@ under the License.
<version>${hadoop.version}</version>
<exclusions>
<exclusion>
+ <!-- This dependency is no longer shipped with the JDK since Java 9.-->
+ <groupId>jdk.tools</groupId>
+ <artifactId>jdk.tools</artifactId>
+ </exclusion>
+ <exclusion>
<groupId>asm</groupId>
<artifactId>asm</artifactId>
</exclusion>
diff --git a/pom.xml b/pom.xml
index 84cf6b1..9562308 100644
--- a/pom.xml
+++ b/pom.xml
@@ -144,50 +144,6 @@ under the License.
</plugins>
</pluginManagement>
</build>
-
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.apache.hadoop</groupId>
- <artifactId>hadoop-common</artifactId>
- <version>${hadoop.version}</version>
- <exclusions>
- <exclusion>
- <!-- This dependency is not available with java 9.-->
- <groupId>jdk.tools</groupId>
- <artifactId>jdk.tools</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
-
- <dependency>
- <groupId>org.apache.hadoop</groupId>
- <artifactId>hadoop-common</artifactId>
- <version>${hadoop.version}</version>
- <type>test-jar</type>
- <exclusions>
- <exclusion>
- <!-- This dependency is not available with java 9.-->
- <groupId>jdk.tools</groupId>
- <artifactId>jdk.tools</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
-
- <dependency>
- <groupId>org.apache.hadoop</groupId>
- <artifactId>hadoop-annotations</artifactId>
- <version>${hadoop.version}</version>
- <exclusions>
- <exclusion>
- <!-- This dependency is not available with java 9.-->
- <groupId>jdk.tools</groupId>
- <artifactId>jdk.tools</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- </dependencies>
- </dependencyManagement>
</profile>
<profile>
<id>shade-sources</id>