/ / specs2-embedmongo Scala 2.10.1とPlay 2.1.1との未解決の依存関係 - sbt、playframework-2.1、scala-2.10、specs2

specs2-embedmongo Scala 2.10.1とPlay 2.1.1 - sbt、playframework-2.1、scala-2.10、specs2との未解決の依存関係

私はPlay 2.1.1、scala 2.10.1環境の中で最新のものを使用しています サラート ビルドする

私は、 スペック2 - 埋め込みモンゴー README.mdに記載されている依存関係:Build.scalaに次の行を追加する:

"com.github.athieriot" %% "specs2-embedmongo" % "0.5"

私はまた、示されているように、

"de.flapdoodle.embed" % "de.flapdoodle.embed.mongo" % "1.31"

しかし、プレイの依存関係を実行するとき、私はこの出力を得ます:

[warn]  module not found: com.github.athieriot#specs2-embedmongo_2.10;0.5
[warn] ==== local: tried
[warn]   /usr/local/Cellar/play/2.1.1/libexec/repository/local/com.github.athieriot/specs2-embedmongo_2.10/0.5/ivys/ivy.xml
[warn] ==== Typesafe Releases Repository: tried
[warn]   http://repo.typesafe.com/typesafe/releases/com/github/athieriot/specs2-embedmongo_2.10/0.5/specs2-embedmongo_2.10-0.5.pom
[warn] ==== Typesafe Snapshots Repository: tried
[warn]   http://repo.typesafe.com/typesafe/snapshots/com/github/athieriot/specs2-embedmongo_2.10/0.5/specs2-embedmongo_2.10-0.5.pom
[warn] ==== sonatype-snapshots: tried
[warn]   https://oss.sonatype.org/content/repositories/snapshots/com/github/athieriot/specs2-embedmongo_2.10/0.5/specs2-embedmongo_2.10-0.5.pom
[warn] ==== public: tried
[warn]   http://repo1.maven.org/maven2/com/github/athieriot/specs2-embedmongo_2.10/0.5/specs2-embedmongo_2.10-0.5.pom
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: com.github.athieriot#specs2-embedmongo_2.10;0.5: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[error] (*:update) sbt.ResolveException: unresolved dependency: com.github.athieriot#specs2-embedmongo_2.10;0.5: not found

私の現在の設定でこの作業を行う方法はありますか?

回答:

回答№1は4

私は現在、2.9の互換性を保ちながらScala 2.10に対してライブラリをコンパイルしています。他の依存関係をクリーンアップする必要があります:)


回答№2の場合は1

libがScala 2.10に対してコンパイルされていない可能性があります。あなたは 前のバージョン

"com.github.athieriot" % "specs2-embedmongo_2.9.1" % "0.5"