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

ibzib pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new 2930de1  [BEAM-11732] Revert flink-clients from runtime to compile 
configuration.
     new 423659c  Merge pull request #13868 from ibzib/BEAM-11732
2930de1 is described below

commit 2930de1dbe49a82dafb7de792bd1359594b2e90d
Author: Kyle Weaver <kcwea...@google.com>
AuthorDate: Mon Feb 1 11:44:21 2021 -0800

    [BEAM-11732] Revert flink-clients from runtime to compile configuration.
---
 runners/flink/flink_runner.gradle | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/runners/flink/flink_runner.gradle 
b/runners/flink/flink_runner.gradle
index edd5882..32d7f36 100644
--- a/runners/flink/flink_runner.gradle
+++ b/runners/flink/flink_runner.gradle
@@ -138,7 +138,10 @@ dependencies {
   compile library.java.slf4j_api
   compile library.java.joda_time
   compile library.java.args4j
-  runtimeOnly "org.apache.flink:flink-clients_2.11:$flink_version"
+  compile "org.apache.flink:flink-clients_2.11:$flink_version"
+  // Runtime dependencies are not included in Beam's generated pom.xml, so we 
must declare flink-clients in compile
+  // configuration (https://issues.apache.org/jira/browse/BEAM-11732).
+  permitUnusedDeclared "org.apache.flink:flink-clients_2.11:$flink_version"
   compile "org.apache.flink:flink-core:$flink_version"
   compile "org.apache.flink:flink-metrics-core:$flink_version"
   compile "org.apache.flink:flink-java:$flink_version"

Reply via email to