flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frederick Ayala <frederickay...@gmail.com>
Subject Re: Scala Breeze Dependencies not resolving when adding flink-ml on build.sbt
Date Wed, 28 Oct 2015 12:40:07 GMT
Thank you Anwar! That did the trick :)

On Wed, Oct 28, 2015 at 1:30 PM, Anwar Rizal <anrizal05@gmail.com> wrote:

> Yeah....
>
> I had similar problems with kafka in spark streaming. I worked around the
> problem by excluding kafka from connector and then adding the library back.
>
> Maybe you can try something like:
>
> libraryDependencies ++= Seq("org.apache.flink" % "flink-scala" % "0.9.1",
> "org.apache.flink" % "flink-clients" % "0.9.1" ,"org.apache.flink" %
> "flink-ml" % "0.9.1"  exclude("org.scalanlp",
> "breeze_${scala.binary.version}"))
>
> libraryDependencies += "org.scalanlp" % "breeze_2.10" % "0.11.2"
>
> Anwar.
>
>
>
>
> On Wed, Oct 28, 2015 at 11:29 AM, Frederick Ayala <
> frederickayala@gmail.com> wrote:
>
>> I tried adding libraryDependencies += "org.scalanlp" % "breeze_2.10" %
>> "0.11.2"  but the problem persist.
>>
>> I also tried as explained in the Breeze documentation:
>>
>> libraryDependencies  ++= Seq(
>>   "org.scalanlp" %% "breeze" % "0.11.2",
>>   "org.scalanlp" %% "breeze-natives" % "0.11.2",
>>   "org.scalanlp" %% "breeze-viz" % "0.11.2"
>> )
>>
>> resolvers ++= Seq("Sonatype Releases" at "
>> https://oss.sonatype.org/content/repositories/releases/")
>>
>> But it doesn't work.
>>
>> The message is still "unresolved dependency:
>> org.scalanlp#breeze_${scala.binary.version};0.11.2: not found"
>>
>> Could the problem be on flink-ml/pom.xml?
>>
>> <dependency>
>> <groupId>org.scalanlp</groupId>
>> <artifactId>breeze_${scala.binary.version}</artifactId>
>> <version>0.11.2</version>
>> </dependency>
>>
>> The property scala.binary.version is not being replaced by the value 2.10
>>
>> Thanks,
>>
>> Frederick Ayala
>>
>> On Wed, Oct 28, 2015 at 10:59 AM, DEVAN M.S. <msdevanms@gmail.com> wrote:
>>
>>> Can you add libraryDependencies += "org.scalanlp" % "breeze_2.10" %
>>> "0.11.2" also ?
>>>
>>>
>>>
>>> Devan M.S. | Technical Lead | Cyber Security | AMRITA VISHWA
>>> VIDYAPEETHAM | Amritapuri | Cell +919946535290 |
>>> [image: View DEVAN M S's profile on LinkedIn]
>>> <https://in.linkedin.com/pub/devan-m-s/17/373/574>
>>>
>>>
>>> On Wed, Oct 28, 2015 at 3:04 PM, Frederick Ayala <
>>> frederickayala@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
>>>>
>>>
>>>
>>
>>
>> --
>> Frederick Ayala
>>
>
>


-- 
Frederick Ayala

Mime
View raw message