In your pom file you can mention against which version of scala you want to build and also remember to add the scala version in the artifactId in all the dependencies which takes scala version, there might be some libraries which are scala agnostic there you do not have to specify the scala version.
<properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <slf4j.version>1.7.12</slf4j.version> <flink.version>1.0.0</flink.version> <scala.version>2.11</scala.version> </properties> <dependencies> <dependency> <groupId>org.apache.flink</groupId> <artifactId>flink-streaming-java_${scala.version}</artifactId> <version>${flink.version}</version> </dependency> <dependency> <groupId>org.apache.flink</groupId> <artifactId>flink-streaming-scala_${scala.version} </artifactId> <version>${flink.version}</version> </dependency> </dependencies> On Tue, Apr 5, 2016 at 6:10 AM, Andrew Gaydenko <andrew.gayde...@gmail.com> wrote: > Hi! > > How to build the project for Scala 2.11? > -- > > Regards, > Andrew >