Problem building 1.7.1 with scala-2.12

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem building 1.7.1 with scala-2.12

Cliff Resnick
The build fails at flink-connector-kafka-0.9 because _2.12 libraries apparently do not exist for kafka < 0.10. Any help appreciated!


-Cliff
Reply | Threaded
Open this post in threaded view
|

Re: Problem building 1.7.1 with scala-2.12

Chesnay Schepler
When building Flink for scala 2.12 you have to pass "-Dscala-2.12" to
maven; see the flink-connector-kafka-0.9 pom for details. (look for the
scala-2.11 profile)

On 02.01.2019 17:48, Cliff Resnick wrote:
> The build fails at flink-connector-kafka-0.9 because _2.12 libraries
> apparently do not exist for kafka < 0.10. Any help appreciated!
>
>
> -Cliff


Reply | Threaded
Open this post in threaded view
|

Re: Problem building 1.7.1 with scala-2.12

Cliff Resnick
Thanks, that works. I was passing -Pscala-2.12 (for Profile). 

On Thu, Jan 3, 2019 at 4:45 AM Chesnay Schepler <[hidden email]> wrote:
When building Flink for scala 2.12 you have to pass "-Dscala-2.12" to
maven; see the flink-connector-kafka-0.9 pom for details. (look for the
scala-2.11 profile)

On 02.01.2019 17:48, Cliff Resnick wrote:
> The build fails at flink-connector-kafka-0.9 because _2.12 libraries
> apparently do not exist for kafka < 0.10. Any help appreciated!
>
>
> -Cliff