flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Metzger (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-2858) Cannot build Flink Scala 2.11 with IntelliJ
Date Thu, 15 Oct 2015 13:26:05 GMT

    [ https://issues.apache.org/jira/browse/FLINK-2858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14958887#comment-14958887

Robert Metzger commented on FLINK-2858:

The problem is that we're Flink is using the "scala-2.11" property to activate and deactivate
the scala-2.10 and scala-2.11 profiles.
In flink-scala/pom.xml there is a scala-2.10 profile which activates itself even if the scala-2.11
profile is selected in IntelliJ.
I am not aware of a way of setting maven properties in IntelliJ.

I think [~aalexandrov] did it like this because we need to remove a dependency (scala macros)
for scala-2.11.
We can probably also activate the profile with the regular profile activation and activate
the scala-2.10 profile with "activateByDefault". 

> Cannot build Flink Scala 2.11 with IntelliJ
> -------------------------------------------
>                 Key: FLINK-2858
>                 URL: https://issues.apache.org/jira/browse/FLINK-2858
>             Project: Flink
>          Issue Type: Bug
>          Components: Build System
>    Affects Versions: 0.10
>            Reporter: Till Rohrmann
> If I activate the scala-2.11 profile from within IntelliJ (and thus deactivate the scala-2.10
profile) in order to build Flink with Scala 2.11, then Flink cannot be built. The problem
is that some Scala macros cannot be expanded because they were compiled with the wrong version
(I assume 2.10).
> This makes debugging tests with Scala 2.11 in IntelliJ impossible.

This message was sent by Atlassian JIRA

View raw message