Nolaeh
Nolaeh

Reputation: 31

sbt.ResolveException: unresolved dependency:

it seems to that Play do not find my local repository.

I have declared resolvers += "Local Maven Repository" at "file://"+"/Users/branco"+"/.m2/repository" in file plugins.sbt for my project.

and in file Build.scala val appDependencies = Seq( "linkedin" % "linkedin_api" % "1.0-SNAPSHOT" )

(im using play20)

Upvotes: 0

Views: 3977

Answers (2)

Stephen
Stephen

Reputation: 4296

the resolvers section of plugins.sbt is a trap. set it in Build.scala.

Upvotes: 4

ndeverge
ndeverge

Reputation: 21564

The resolver section must be defined in your project/Build.scala file as explained in the Play! documentation (at the end of the page): http://www.playframework.org/documentation/2.0/SBTDependencies

Upvotes: 4

Related Questions