GitHub user aljoscha opened a pull request:
https://github.com/apache/beam/pull/3881
[BEAM-2377] Allow cross compilation (2.10,2.11) for flink runner
This is a fixed version of #3255 which was reverted in #3875. The problem
was that `flink.scala.version` was not set in the nexmark pom.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/aljoscha/beam fix-pr-3255-scala-version
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/beam/pull/3881.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #3881
----
commit f61605b4199c6904a6dcbd111ffb906491fa9e0e
Author: Ole Langbehn <[email protected]>
Date: 2017-05-31T07:54:04Z
[BEAM-2377] Allow cross compilation (2.10,2.11) for flink runner
Flink allows being built against scala 2.11. But the Flink Runner did
not.
This commit alleviates that, as well as allowing for ensuring that
builds work against scala 2.11 dependencies. It introduces a
flink.scala.version mvn property that is set to 2.11 as a default, as well
as
a mvn profile that overrides the scala version to 2.10.
----
---