LoginSignup
3
3

More than 5 years have passed since last update.

com.github.scctのscct_2.10;0.2-SNAPSHOTが見つからなくて困った際の対処として0.3-SNAPSHOTを使う

Posted at
sbt.ResolveException: unresolved dependency: com.github.scct#scct_2.10;0.2-SNAPSHOT: not found

こんなエラーが出てコンパイルができなくて困る。

最近、com.github.scctのscctが内部的にバージョンを0.2-SNAPSHOTに依存している0.2がリリースされていて、それが指摘によってソースコードが修正されたのですが、その後0.2-SNAPSHOTのリポジトリが削除され、更に新しいmavenリポジトリのバイナリの中身の0.2-SNAPSHOT依存が修正されていなかったのでその際の対処。

結論としては、0.3-SNAPSHOTを使う。

Play2だと、

project/Build.scala

-import sbt.scct.ScctPlugin

以上のように除去。

project/plugins.sbt

-addSbtPlugin("com.github.scct" % "sbt-scct" % "0.2")
+resolvers += "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"
+
+addSbtPlugin("com.github.scct" % "sbt-scct" % "0.3-SNAPSHOT")

以上のように除去、追加。これで対応。
いろいろヒドイ。

3
3
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3