Syncleus / aparapi

The New Official Aparapi: a framework for executing native Java and Scala code on the GPU.

Home Page:http://aparapi.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Doesn't get resolved in sbt

eklavya opened this issue · comments

Thanks @freemo for the help.

With default resolvers when using SBT you get:

[warn] io problem while parsing ivy file: https://repo1.maven.org/maven2/com/aparapi/aparapi/1.5.0/aparapi-1.5.0.pom: Impossible to load parent for file:/Users/saurabhrawat/.ivy2/cache/com.aparapi/aparapi/ivy-1.5.0.xml.original. Parent=com.syncleus#syncleus;6-SNAPSHOT
[warn] 	module not found: com.aparapi#aparapi;1.5.0
[warn] ==== local: tried
[warn]   /Users/saurabhrawat/.ivy2/local/com.syncleus/syncleus/6-SNAPSHOT/ivys/ivy.xml
[warn] ==== public: tried
[warn]   https://repo1.maven.org/maven2/com/syncleus/syncleus/6-SNAPSHOT/syncleus-6-SNAPSHOT.pom
[warn] ==== local-preloaded-ivy: tried
[warn]   /Users/saurabhrawat/.sbt/preloaded/com.aparapi/aparapi/1.5.0/ivys/ivy.xml
[warn] ==== local-preloaded: tried
[warn]   file:////Users/saurabhrawat/.sbt/preloaded/com/aparapi/aparapi/1.5.0/aparapi-1.5.0.pom
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
[warn] 	::          UNRESOLVED DEPENDENCIES         ::
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
[warn] 	:: com.aparapi#aparapi;1.5.0: not found
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::

In sbt builds you need to add the sonatype snapshot resolver for the dependency to resolve.

like this:

resolvers += "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"

This will be labeled as a bug and fixed shortly. Once the fix is applied the custom resolver should no longer be needed. I'll update this ticket once its fixed.

@eklavya Ok the fix for this is in master. In release v 1.6 coming out shortly you will no longer need to explicitly specify a repo in sbt. You will be able to include it just as you would with any other dependency. Keep an eye out for the release. I closed the ticket.

@eklavya v1.6.0 has now been released to maven central resolving your problem