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/
> predictionio-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/
> template-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

Reply via email to