mmizutani / sbt-play-gulp

Gulp asset pipeline for Play Framework
Other
37 stars 12 forks source link

org.scalaz.stream#scalaz-stream_2.10;0.7a: not found #3

Closed coffius closed 9 years ago

coffius commented 9 years ago

I've tried to add sbt-play-gulp to my project but then a project build has started crashing with this error:

[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: org.scalaz.stream#scalaz-stream_2.10;0.7a: not found

I`ve also tried to build the example project from here: https://github.com/mmizutani/play-gulp-demo but the result has beed the same:

[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: org.scalaz.stream#scalaz-stream_2.10;0.7a: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn]  Note: Unresolved dependencies path:
[warn]          org.scalaz.stream:scalaz-stream_2.10:0.7a
[warn]            +- org.specs2:specs2-common_2.10:3.6
[warn]            +- org.specs2:specs2-matcher_2.10:3.6
[warn]            +- org.specs2:specs2-core_2.10:3.6
[warn]            +- org.specs2:specs2-junit_2.10:3.6
[warn]            +- com.typesafe.play:sbt-plugin:2.4.3 (scalaVersion=2.10, sbtVersion=0.13)
[warn]            +- com.github.mmizutani:sbt-play-gulp:0.0.5 (scalaVersion=2.10, sbtVersion=0.13) (F:\Dev\projs\scala\play-gulp-demo\project\plugins.sbt#L19-20)
[warn]            +- default:play-gulp-demo-build:0.1-SNAPSHOT (scalaVersion=2.10, sbtVersion=0.13)
mmizutani commented 9 years ago

You need to add the resolver for scalaz-stream in build.sbt so that specs2-core, the testing library for play, works.

resolvers += "scalaz-bintray" at "https://dl.bintray.com/scalaz/releases"
romeokienzler commented 9 years ago

Found this comment on StackOverflow, fyi (it IMHO is also valid for the post of @mmizutani)

"You should never ever ever set "scalaz-bintray" at "dl.bintray.com/scalaz/releases"; in your build. It opens you up to cross build injection attacks. Only use https to add a repository to your build."

http://stackoverflow.com/questions/27923223/unresolved-dependency-with-specs2-scalaz-stream-0-5a