This is an automated email from the ASF dual-hosted git repository. ibzib pushed a commit to branch release-2.28.0 in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/release-2.28.0 by this push: new be8c78e [BEAM-11732] Revert flink-clients from runtime to compile configuration. new a008241 Merge pull request #13874 from ibzib/flink-clients be8c78e is described below commit be8c78e15852898ae0ba96402b5cc01d3bc57936 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"