找不到sbt-play-soap 1.1.3

时间:2018-08-01 15:07:41

标签: scala soap playframework sbt

我有戏!带有scala 2.12和sbt 1.1.6的2.6项目

我需要在服务中执行SOAP api调用,所以我看到了Play!有一个叫做 Reactive SOAP for Play 的东西,当我进入文档(https://github.com/playframework/play-soap#installation)时,第一步是添加插件:

resolvers += Resolver.url("play-sbt-plugins", url("https://dl.bintray.com/playframework/sbt-plugin-releases/"))(Resolver.ivyStylePatterns)

addSbtPlugin("com.typesafe.sbt" % "sbt-play-soap" % "1.1.3") 

但是我得到一个错误:

[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: com.typesafe.sbt#sbt-play-soap;1.1.3: 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-play-soap:1.1.3 (scalaVersion=2.12, sbtVersion=1.0)
[warn]

有人曾经尝试过吗?谢谢

1 个答案:

答案 0 :(得分:0)

1.1.3版仅适用于sbt 0.13

由于您使用的是sbt 1.x.x,因此必须使用版本1.1.4

resolvers += Resolver.url("play-sbt-plugins", url("https://dl.bintray.com/playframework/sbt-plugin-releases/"))(Resolver.ivyStylePatterns)

addSbtPlugin("com.typesafe.sbt" % "sbt-play-soap" % "1.1.4")