flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maximilian Michels <...@apache.org>
Subject [NOTICE] Maven artifacts names now suffixed with Scala version
Date Wed, 27 Jan 2016 11:20:30 GMT
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.

Mime
View raw message