This sounds similar to this problem: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Flink-ML-as-Dependency-td1582.html
The reason is (quoting Till, replace gradle with sbt here): the flink-ml pom contains as a dependency an artifact with artifactId > breeze_${scala.binary.version}. The variable scala.binary.version is > defined in the parent pom and not substituted when flink-ml is installed. > Therefore gradle tries to find a dependency with the name > breeze_${scala.binary.version} Anwar's solution should work, I just tested it on a basic Flink build, but I haven't tried running anything yet. The resolution error does go away though. So your sbt should include something like: libraryDependencies ++= Seq( "org.apache.flink" % "flink-scala" % flinkVersion, "org.apache.flink" % "flink-clients" % flinkVersion, ("org.apache.flink" % "flink-ml" % flinkVersion) .exclude("org.scalanlp", "breeze_${scala.binary.version}"), "org.scalanlp" %% "breeze" % "0.11.2") On Wed, Oct 28, 2015 at 10:34 AM, Frederick Ayala <frederickay...@gmail.com> wrote: > Hi, > > I am getting an error when adding flink-ml to the libraryDependencies on > my build.sbt file: > > [error] (*:update) sbt.ResolveException: unresolved dependency: > org.scalanlp#breeze_${scala.binary.version};0.11.2: not found > > My libraryDependencies is: > > libraryDependencies ++= Seq("org.apache.flink" % "flink-scala" % "0.9.1", > "org.apache.flink" % "flink-streaming-scala" % "0.9.1", "org.apache.flink" > % "flink-clients" % "0.9.1", > "org.apache.flink" % "flink-ml" % "0.9.1") > > I am using scalaVersion := "2.10.6" > > If I remove flink-ml all the other dependencies are resolved. > > Could you help me to figure out a solution for this? > > Thanks! > > Frederick Ayala >