flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Gaydenko <andrew.gayde...@gmail.com>
Subject Re: building for Scala 2.11
Date Tue, 05 Apr 2016 08:45:09 GMT
Balaji, now I see it is my mistake: I wasn't clear enough in my
question, sorry. Saying "the project" I mean Flink project itself. The
question is already answered.


Regards,
Andrew

Balaji Rajagopalan <balaji.rajagopalan@olacabs.com> writes:

> 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.gaydenko@gmail.com>
> wrote:
>
>> Hi!
>>
>> How to build the project for Scala 2.11?
>> --
>>
>> Regards,
>> Andrew
>>


Mime
View raw message