[
https://issues.apache.org/jira/browse/BEAM-11038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17256753#comment-17256753
]
Kyle Weaver commented on BEAM-11038:
------------------------------------
Oh, the shadow plugin was updated just yesterday. That fixed it.
https://github.com/apache/beam/pull/13586
> runShadow error: property 'mainClass' is final
> ----------------------------------------------
>
> Key: BEAM-11038
> URL: https://issues.apache.org/jira/browse/BEAM-11038
> Project: Beam
> Issue Type: Bug
> Components: runner-flink, runner-spark
> Affects Versions: 2.25.0
> Reporter: Kyle Weaver
> Priority: P3
>
> This also happens for the :runners:flink:1.x:job-server:runShadow tasks.
> However, it does not affect the shadowJar task, which builds the jar, so it
> is still possible to build and run the jar, just not with runShadow.
> Looks like we were hit by https://github.com/johnrengelman/shadow/issues/574.
> > Task :runners:spark:job-server:runShadow FAILED
> FAILURE: Build failed with an exception.
> * What went wrong:
> Execution failed for task ':runners:spark:job-server:runShadow'.
> > The value for task ':runners:spark:job-server:runShadow' property
> > 'mainClass' is final and cannot be changed any further.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)