[
https://issues.apache.org/jira/browse/FLINK-2200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14613145#comment-14613145
]
ASF GitHub Bot commented on FLINK-2200:
---------------------------------------
Github user aalexandrov commented on a diff in the pull request:
https://github.com/apache/flink/pull/885#discussion_r33858383
--- Diff: docs/apis/programming_guide.md ---
@@ -187,7 +187,17 @@ that creates the type information for Flink operations.
</div>
</div>
+#### Scala Dependency Versions
+Because Scala 2.10 binary is not compatible with Scala 2.11 binary, we
provide multiple artifacts
+to support both Scala versions. If you want to run your program on Flink
with Scala 2.11, you need
+to add a suffix `_2.11` to all Flink artifact ids in your dependencies.
You should be careful with
+this difference of artifact id. All modules with Scala 2.11 have a suffix
`_2.11` in artifact id.
+For example, `flink-java` should be changed to `flink-java_2.11` and
`flink-clients` should be
+changed to `flink-clients_2.11`.
--- End diff --
Because Scala 2.10 binary is not compatible with Scala 2.11 binary, we
provide multiple artifacts
to support both Scala versions.
Starting from the 0.10 line, we cross-build all Scala-dependent Flink
modules for both 2.10 and 2.11.
If you want to run your program on Flink with Scala 2.11, you need to add a
`_2.11` suffix to the `artifactId` values of the Scala-dependent Flink modules
in your `dependencies` section.
> Flink API with Scala 2.11 - Maven Repository
> --------------------------------------------
>
> Key: FLINK-2200
> URL: https://issues.apache.org/jira/browse/FLINK-2200
> Project: Flink
> Issue Type: Wish
> Components: Build System, Scala API
> Reporter: Philipp Götze
> Assignee: Chiwan Park
> Priority: Trivial
> Labels: maven
>
> It would be nice if you could upload a pre-built version of the Flink API
> with Scala 2.11 to the maven repository.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)