flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maximilian Alber <alber.maximil...@gmail.com>
Subject Flink-ML as Dependency
Date Wed, 10 Jun 2015 13:38:19 GMT
Hi Flinksters,

I would like to test FlinkML. Unfortunately, I get an error when including
it to my project. It might be my error as I'm not experienced with Gradle,
but with Google I got any wiser.

My build.gradle looks as follows:

apply plugin: 'java'
apply plugin: 'scala'

//sourceCompatibility = 1.5
version = '1.0'
jar {
    manifest {
        attributes 'Implementation-Title': 'Test Project',
                   'Implementation-Version': 1.0

repositories {

dependencies {
  compile 'org.scala-lang:scala-library:2.10.5'
  compile 'org.scala-lang:scala-compiler:2.10.5'

  compile 'org.scalanlp:breeze_2.10:0.11.2'

  compile group: 'org.apache.flink', name: 'flink-clients', version:
  compile group: 'org.apache.flink', name: 'flink-scala', version:
  compile group: 'org.apache.flink', name: 'flink-ml', version:

And I get the following error:

alber@alberTU:/media/alber/datadisk/tmp/flink/code/test$ gradle compileScala
Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all dependencies for configuration ':compile'.
> Could not resolve org.scalanlp:breeze_${scala.binary.version}:0.11.2.
  Required by:
      :test:1.0 > org.apache.flink:flink-ml:0.9-SNAPSHOT
   > Illegal character in path at index 51:

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or
--debug option to get more log output.


Total time: 7.113 secs

I'm thankful for any ideas!


View raw message