我试图在Jenkins中构建一个Scala项目,但我收到UNRESOLVED DEPENDENCIES
的{{1}}错误消息。
请注意项目已过时,我无法更新。
plugins.sbt
sbt-native-packager
完整错误消息
resolvers += "Web plugin repo" at "http://siasia.github.com/maven2"
resolvers += Resolver.url("scalasbt", new URL("http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases"))(Resolver.ivyStylePatterns)
resolvers += Resolver.url("SBT native packager from bintray", new URL("http://dl.bintray.com/sbt/sbt-plugin-releases"))(Resolver.ivyStylePatterns)
addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.0.0")
addSbtPlugin("com.typesafe" % "sbt-native-packager" % "0.4.0")
libraryDependencies <+= sbtVersion(v => "com.github.siasia" %% "xsbt-web-plugin" % (v+"-0.2.11"))
我该如何解决这个问题?什么是正确的解析器?
答案 0 :(得分:0)
我更改了解析程序以使用https并且工作正常:
resolvers += Resolver.url(
"sbt-plugin-releases on bintray",
new URL("https://dl.bintray.com/sbt/sbt-plugin-releases/")
)(Resolver.ivyStylePatterns)