kaliber-scala / play-s3

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

play-s3-4.0.0 not found #52

Closed timsegraves closed 9 years ago

timsegraves commented 9 years ago

Hi,

I'm getting the following error with SBT not finding the correct version of the play-s3 plugin. I'm using Play 2.2.5 and Scala 2.10.4. I have the following in my plugins.sbt file:

// S3 Module
resolvers += "Rhinofly Internal Repository" at "http://maven-repository.rhinofly.net:8081/artifactory/libs-release-local"

// S3
addSbtPlugin("nl.rhinofly" %% "play-s3" % "4.0.0")

and am getting the following error:

[warn] ==== Rhinofly Internal Repository: tried
[warn]   http://maven-repository.rhinofly.net:8081/artifactory/libs-release-local/nl/rhinofly/play-s3_2.10_0.13/4.0.0/play-s3-4.0.0.pom
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: nl.rhinofly#play-s3;4.0.0: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn]  Note: Some unresolved dependencies have extra attributes.  Check that these dependencies exist with the requested attributes.
[warn]      nl.rhinofly:play-s3:4.0.0 (sbtVersion=0.13, scalaVersion=2.10)
[warn]
sbt.ResolveException: unresolved dependency: nl.rhinofly#play-s3;4.0.0: not found

I saw this similar issue for 2.1.0 and was wondering if this might be related.

Any help would be greatly appreciated. Thanks!

EECOLOR commented 9 years ago

You are adding it as a plugin instead of a library. It should be like this in your build file:

libraryDependencies += "nl.rhinofly" %% "play-s3" % "4.0.0"
timsegraves commented 9 years ago

Ah, my bad. Thanks for pointing me in the right direction!