Hi,

I have a scala project depending on flink scala_2.11 and am seeing a
compilation error when using sbt.

I'm using flink 1.0-SNAPSHOT and my build was working yesterday. I was
wondering if maybe a recent change to flink could be the cause?

Usually we see flink resolving the scala _2.11 counterparts for akka and
scalatest:

[info] Resolving com.typesafe.akka#akka-actor_2.11;2.3.7 ...
[info] Resolving com.typesafe#config;1.2.1 ...
[info] Resolving com.typesafe.akka#akka-remote_2.11;2.3.7 ...[info]
Resolving org.scalatest#scalatest_2.11;2.2.4 ...



but am seeing it pick up the _2.10 counterparts:

[info] Resolving com.typesafe.akka#akka-actor_2.10;2.3.7 ...[info]
Resolving com.typesafe.akka#akka-actor_2.10;2.3.7 ...
[info] Resolving com.typesafe#config;1.2.1 ...[info] Resolving
org.scalatest#scalatest_2.10;2.2.2 ...



This ultimately gives us the following compilation error:

[error]    org.scalatest:scalatest _2.10, _2.11
java.lang.RuntimeException: Conflicting cross-version suffixes in:
org.scalatest:scalatest
        at scala.sys.package$.error(package.scala:27)
        at sbt.ConflictWarning$.processCrossVersioned(ConflictWarning.scala:46)
        at sbt.ConflictWarning$.apply(ConflictWarning.scala:32)



Maybe the latest 1.0-SNAPSHOT build erroneously built with scala 2.10 for
the 2.11 profile? Any guidance appreciated!

Thanks,
David

Reply via email to