I have a Play 2.1-SNAPSHOT-based application that works fine locally, but when I try to install it on Heroku, I get the following error:
[warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] :: UNRESOLVED DEPENDENCIES :: [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] :: play#sbt-plugin;2.1-SNAPSHOT: not found [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] [warn] Note: Some unresolved dependencies have extra attributes. Check that these dependencies exist with the requested
attributes.
My plugins.sbt file points to a local repository containing 2.1-SNAPSHOT dependencies:
resolvers ++= Seq( "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/", Resolver.file("My Repository", file( "repository/local") ) ) // Use the Play sbt plugin for Play projects addSbtPlugin("play" % "sbt-plugin" % "2.1-SNAPSHOT")
The repository / local directory is checked in my GIT repository. This is similar to SBT on Heroku, which is looking in the local repository, because before the error "Unresolved Dependency" I see the following warnings:
[warn] ==== Typesafe repository: tried [warn] http://repo.typesafe.com/typesafe/releases/play/sbt-plugin_2.9.1_0.11.2/2.1-SNAPSHOT/sbt-plugin-2.1-SNAPSHOT.pom [warn] ==== My Repository: tried [warn] ==== heroku-sbt-typesafe: tried [warn] ==== heroku-central: tried
The execution of the "playback step" locally completes successfully.
source share