From c3acee6913a9bcb6382d3429e540a9536690802f Mon Sep 17 00:00:00 2001 From: yew1eb Date: Mon, 25 Sep 2017 01:31:05 +0800 Subject: [PATCH 1/3] fix flink-scala undeclared/unused dependencies --- flink-scala/pom.xml | 36 ++++++++++++++++++++++++++++-------- 1 file changed, 28 insertions(+), 8 deletions(-) diff --git a/flink-scala/pom.xml b/flink-scala/pom.xml index c3cc554b7cc50..3ce30a9d8cdaa 100644 --- a/flink-scala/pom.xml +++ b/flink-scala/pom.xml @@ -33,6 +33,12 @@ under the License. jar + + org.apache.flink + flink-annotations + ${project.version} + + org.apache.flink flink-core @@ -45,11 +51,23 @@ under the License. ${project.version} + + org.apache.flink + flink-metrics-core + ${project.version} + + org.apache.flink flink-shaded-asm + + org.apache.flink + flink-shaded-hadoop2 + ${project.version} + + org.scala-lang scala-reflect @@ -65,19 +83,21 @@ under the License. scala-compiler - + + com.esotericsoftware.kryo + kryo + - org.scalatest - scalatest_${scala.binary.version} - test + org.apache.commons + commons-lang3 + + - org.apache.flink - flink-test-utils_${scala.binary.version} - ${project.version} - test-jar + org.scalatest + scalatest_${scala.binary.version} test From ddad81142d1372258a25ab1f26177a79dd08c267 Mon Sep 17 00:00:00 2001 From: yew1eb Date: Mon, 25 Sep 2017 08:20:07 +0800 Subject: [PATCH 2/3] fix --- flink-scala/pom.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/flink-scala/pom.xml b/flink-scala/pom.xml index 3ce30a9d8cdaa..65fc0f85dfaf4 100644 --- a/flink-scala/pom.xml +++ b/flink-scala/pom.xml @@ -101,6 +101,13 @@ under the License. test + + org.apache.flink + flink-test-utils-junit + ${project.version} + test + + org.apache.flink flink-core From 64f0294eccafa5b3302806e88e14b59cf4487e59 Mon Sep 17 00:00:00 2001 From: yew1eb Date: Mon, 25 Sep 2017 09:12:42 +0800 Subject: [PATCH 3/3] fix --- flink-scala/pom.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/flink-scala/pom.xml b/flink-scala/pom.xml index 65fc0f85dfaf4..c923071954011 100644 --- a/flink-scala/pom.xml +++ b/flink-scala/pom.xml @@ -108,6 +108,13 @@ under the License. test + + org.apache.flink + flink-runtime_${scala.binary.version} + ${project.version} + test + + org.apache.flink flink-core