I guess it’s related to added a hard version of scala-library dependency. Try 
to make it “compileOnly” (as we do for Spark runner for example). Also, there 
is no need to escalate it to BeamModulePlugin.groovy - please, keep it local 
for your module.

—
Alexey


> On 31 May 2022, at 23:17, Elizaveta Lomteva <elizaveta.lomt...@akvelon.com> 
> wrote:
> 
> Hi everyone,
> 
> In Add ReceiverBuilder for SparkReceiverIO PR [1] for the CDAP IO connector 
> project, the Java Precommit checks failed with errors unrelated to changes in 
> the PR:
> 
> 18:13:23 1: Task failed with an exception.
> 18:13:23 -----------
> 18:13:23 * What went wrong:
> 18:13:23 Execution failed for task ':sdks:java:io:amazon-web-services:test'.
> 
> 18:13:23 2: Task failed with an exception.
> 18:13:23 -----------
> 18:13:23 * What went wrong:
> 18:13:23 Execution failed for task ':sdks:java:io:amazon-web-services2:test'.
> 
> 18:13:23 3: Task failed with an exception.
> 18:13:23 -----------
> 18:13:23 * What went wrong:
> 18:13:23 Execution failed for task ':runners:spark:3:test'.
> 
> 18:13:23 4: Task failed with an exception.
> 18:13:23 -----------
> 18:13:23 * What went wrong:
> 18:13:23 Execution failed for task ':runners:flink:1.12:test'.
> 
> 18:13:23 5: Task failed with an exception.
> 18:13:23 -----------
> 18:13:23 * What went wrong:
> 18:13:23 Execution failed for task ':runners:flink:1.13:test'.
> 
> 
> Does someone know why it's so and how to fix it?
> 
> Regards,
> Elizaveta
> 
> [1] [BEAM-14101] [CdapIO] Add ReceiverBuilder for SparkReceiverIO PR 
> <https://github.com/apache/beam/pull/17111>

Reply via email to