NET-A-PORTER / scala-uri

Simple scala library for building and parsing URIs
Other
261 stars 33 forks source link

Unresolved dependencies #45

Closed stevenheidel closed 10 years ago

stevenheidel commented 10 years ago

When I add this to my Play 2.2.1 app I get the following error on build:

[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: com.typesafe.sbt#sbt-pgp;0.8.1: not found
[warn]  :: com.github.scct#scct_2.10;0.3-SNAPSHOT: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn] 
[warn]  Note: Some unresolved dependencies have extra attributes.  Check that these dependencies exist with the requested attributes.
[warn]      com.typesafe.sbt:sbt-pgp:0.8.1 (sbtVersion=0.13, scalaVersion=2.10)
[warn] 
[trace] Stack trace suppressed: run last *:update for the full output.
[error] (*:update) sbt.ResolveException: unresolved dependency: com.typesafe.sbt#sbt-pgp;0.8.1: not found
[error] unresolved dependency: com.github.scct#scct_2.10;0.3-SNAPSHOT: not found
Rydgel commented 10 years ago

Same here.

It looks like "com.github.scct" %% "scct" % "0.3-SNAPSHOT" does not exist anymore. We should use "com.github.scct" %% "scct" % "0.2.1" instead.

Also shouldn't this dependency only be mandatory when you are actually developing the lib and not using it?

theon commented 10 years ago

Yuck, sorry. Neither of those should be runtime dependencies for scala-uri.

I have just pushed a new version 0.4.1, could you give that a try. They are no longer appearing in the 0.4.1 pom file as opposed to the 0.4.0 pom file, so I'm hoping that will solve your problem.

stevenheidel commented 10 years ago

Seems to work now, thanks!

Rydgel commented 10 years ago

Thanks!