kaliber-scala/play-s3

Can't add the play-s3 dependency

Closed this issue · 3 comments

I am using play 2.5.3 and I am trying to add the "play-s3" plugin in my build.sbt. But I got the below issue.

Error:Error while importing SBT project:<br/>...<br/><pre>[info] Resolving com.typesafe.play#play-docs_2.11;2.5.3 ...
[info] Resolving com.typesafe.play#play-doc_2.11;1.2.2 ...
[info] Resolving org.pegdown#pegdown;1.4.0 ...
[info] Resolving org.parboiled#parboiled-java;1.1.5 ...
[info] Resolving org.parboiled#parboiled-core;1.1.5 ...
[info] Resolving org.ow2.asm#asm;4.1 ...
[info] Resolving org.ow2.asm#asm-tree;4.1 ...
[info] Resolving org.ow2.asm#asm-analysis;4.1 ...
[info] Resolving org.ow2.asm#asm-util;4.1 ...
[info] Resolving jline#jline;2.12.1 ...
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: net.kaliber#play-s3_2.11;8.0.0: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[trace] Stack trace suppressed: run 'last *:update' for the full output.
[trace] Stack trace suppressed: run 'last *:ssExtractDependencies' for the full output.
[error] (*:update) sbt.ResolveException: unresolved dependency: net.kaliber#play-s3_2.11;8.0.0: not found
[error] (*:ssExtractDependencies) sbt.ResolveException: unresolved dependency: net.kaliber#play-s3_2.11;8.0.0: not found

I am assuming you added the following line to your build.sbt resolvers += "Kaliber Internal Repository" at "https://jars.kaliber.io/artifactory/libs-release-local"

@Hayena Thanks for the response.
No. I have added the below lines in my build.sbt.

name := "my-app"

version := "1.0.0"

lazy val root = (project in file(".")).enablePlugins(PlayScala)

scalaVersion := "2.11.7"
libraryDependencies ++= Seq(
     jdbc, 
     cache, 
     ws, 
     specs2 % Test, 
     "net.kaliber" %% "play-s3" % "8.0.0",
     "mysql" % "mysql-connector-java" % "5.1.22",
     "com.typesafe.play" %% "anorm" % "2.5.0",
     "com.typesafe.play" %% "play-slick" % "0.8.1",
     "org.apache.commons" % "commons-email" % "1.3.3",
     "com.typesafe.play" % "play-mailer_2.11" % "5.0.0-M1"
)

unmanagedResourceDirectories in Test <+= baseDirectory(_ / "target/web/public/test")

resolvers += "scalaz-bintray" at "https://dl.bintray.com/scalaz/releases"

I can use the plugin after added the resolver -
resolvers += "Kaliber Internal Repository" at "https://jars.kaliber.io/artifactory/libs-release-local"