predictionio-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From infoquest india <infoquestin...@gmail.com>
Subject Re: Dependency issue in pio build.
Date Mon, 17 Oct 2016 07:27:24 GMT
I am also facing same issue. Please help.

Thanks
Gaurav
http://www.infoquestsolutions.com
Turning Imagination To Reality
Skype:- infoquestsolutions
Gtalk:- infoquestindia

On Mon, Oct 17, 2016 at 11:01 AM, Bansari Shah <bansari.jan93@gmail.com>
wrote:

> I am trying to build template with new released artifact of apache
> predictionio. In that case my build.sbt is :
>
> name := "testClassifier"
>>
>> organization := "org.apache.predictionio"
>>
>> scalaVersion := "2.10.5"
>>
>> libraryDependencies ++= Seq(
>> "org.apache.predictionio" %% "apache-predictionio-core" % "0
>> .10.0-incubating" % "provided",
>> "org.apache.spark" %% "spark-core" % "1.5.1" % "provided",
>> "org.apache.spark" %% "spark-mllib" % "1.5.1" % "provided)
>
>
> To build it, i ran pio build --verbose --clean but in dependency resolving
> phase, it shows below error message :
>
> [warn] io problem while parsing ivy file: https://repo1.maven.org/
>> maven2/org/apache/predictionio/apache-predictionio-core_2.
>> 10/0.10.0-incubating/apache-predictionio-core_2.10-0.10.0-incubating.pom:
>> Impossible to load parent for file:/Users/bansarishah/.ivy2/
>> cache/org.apache.predictionio/apache-predictionio-core_2.10/
>> ivy-0.10.0-incubating.xml.original. Parent=org.apache.predictionio
>> #predictionio-parent_2.10;0.10.0-incubating
>> [warn]  module not found: org.apache.predictionio#apache
>> -predictionio-core_2.10;0.10.0-incubating
>> [warn] ==== local: tried
>> [warn]   /Users/bansarishah/.ivy2/local/org.apache.predictionio/predi
>> ctionio-parent_2.10/0.10.0-incubating/ivys/ivy.xml
>> [warn] ==== public: tried
>> [warn]   https://repo1.maven.org/maven2/org/apache/predictionio/
>> predictionio-parent_2.10/0.10.0-incubating/predictionio-
>> parent_2.10-0.10.0-incubating.pom
>> [info] Resolving org.fusesource.jansi#jansi;1.4 ...
>> [warn]  ::::::::::::::::::::::::::::::::::::::::::::::
>> [warn]  ::          UNRESOLVED DEPENDENCIES         ::
>> [warn]  ::::::::::::::::::::::::::::::::::::::::::::::
>> [warn]  :: org.apache.predictionio#apache-predictionio-core_2.10;0.10.0-incubating:
>> not found
>> [warn]  ::::::::::::::::::::::::::::::::::::::::::::::
>> [warn]
>> [warn]  Note: Unresolved dependencies path:
>> [warn]  org.apache.predictionio:apache-predictionio-core_2.10:0.10.0-incubating
>> (/Users/bansarishah/Documents/PredictionIO/PeopleHum/templat
>> e-Labelling-LDA-Topics-with-wikipedia/build.sbt#L10-18)
>> [warn]    +- wikiclassifier:wikiclassifier_2.10:1.0
>> sbt.ResolveException: unresolved dependency:
>> org.apache.predictionio#apache-predictionio-core_2.10;0.10.0-incubating:
>> not found
>> ...
>> [INFO] [Console$] [error] (*:update) sbt.ResolveException: unresolved
>> dependency: org.apache.predictionio#apache-predictionio-core_2.10;0.10.0-incubating:
>> not found
>> [INFO] [Console$] [error] Total time: 8 s, completed Oct 17, 2016
>> 12:51:31 AM
>
>
> I removed $HOME/.ivy2/cache/org.apache.predictionio/ and again tried to
> build but still getting same error.
>
> Please consider it and please guide me how to solve this issue.
>
> Thank you
>
> Regards,
> Bansari Shah
>
>

Mime
View raw message