Dear users and developers,
We have merged changes [1] that will affect how you build Flink programs with the latest snapshot version of Flink and with future releases. Maven artifacts which depend on Scala are now suffixed with the Scala major version, e.g. "2.10" or "2.11". While some of the Maven modules are Scala-free, e.g. "flink-java" or "flink-core", most of the artifacts now carry the default Scala 2.10 suffix, e.g. "flink-streaming-java_2.10" or "flink-clients_2.10". This way of suffixing artifact names is common practice and inevitable to avoid Scala version conflicts [2]. Please note that you have to update artifact names in your project pom if you work with 1.0-SNAPSHOT. For example, if you use "flink-streaming-java", please update the dependency as follows: <dependency> <groupId>org.apache.flink</groupId> <artifactId>flink-streaming-java_2.10</artifactId> <version>1.0-SNAPSHOT</version> </dependency> The documentation has also been updated to indicate the suffixes where required. Best, Max [1] https://issues.apache.org/jira/browse/FLINK-2933 [2] Scala code is only compatible across minor versions, e.g. 2.11.x is compatible with 2.11.y but not 2.10.x with 2.11.x. |
Thanks for the notice. I’ve added a warning to the snapshot docs and created a Wiki page with the changes: https://cwiki.apache.org/confluence/display/FLINK/Maven+artifact+names+suffixed+with+Scala+version
– Ufuk > On 27 Jan 2016, at 12:20, Maximilian Michels <[hidden email]> wrote: > > Dear users and developers, > > We have merged changes [1] that will affect how you build Flink > programs with the latest snapshot version of Flink and with future > releases. Maven artifacts which depend on Scala are now suffixed with > the Scala major version, e.g. "2.10" or "2.11". > > While some of the Maven modules are Scala-free, e.g. "flink-java" or > "flink-core", most of the artifacts now carry the default Scala 2.10 > suffix, e.g. "flink-streaming-java_2.10" or "flink-clients_2.10". This > way of suffixing artifact names is common practice and inevitable to > avoid Scala version conflicts [2]. > > Please note that you have to update artifact names in your project pom > if you work with 1.0-SNAPSHOT. For example, if you use > "flink-streaming-java", please update the dependency as follows: > > <dependency> > <groupId>org.apache.flink</groupId> > <artifactId>flink-streaming-java_2.10</artifactId> > <version>1.0-SNAPSHOT</version> > </dependency> > > The documentation has also been updated to indicate the suffixes where required. > > Best, > Max > > [1] https://issues.apache.org/jira/browse/FLINK-2933 > [2] Scala code is only compatible across minor versions, e.g. 2.11.x > is compatible with 2.11.y but not 2.10.x with 2.11.x. |
Free forum by Nabble | Edit this page |