kaliber-scala / play-s3

S3 module for Play
MIT License
119 stars 49 forks source link

Can't add the play-s3 dependency #65

Closed karthikeyan-kandasamy closed 8 years ago

karthikeyan-kandasamy commented 8 years ago

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
Hayena commented 8 years ago

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"

karthikeyan-kandasamy commented 8 years ago

@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"
karthikeyan-kandasamy commented 8 years ago

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