从今天开始,由于未解决的依赖关系,CI无法构建游戏框架项目。我甚至克隆了playframework样本hello world项目- https://github.com/playframework/play-samples/tree/2.8.x/play-java-hello-world-tutorial和结果是相同的,相同的依赖缺失:
[warn]
[warn] Note: Some unresolved dependencies have extra attributes. Check that these dependencies exist with the requested attributes.
[warn] com.typesafe.sbt:sbt-js-engine:1.2.3 (scalaVersion=2.12, sbtVersion=1.0)
[warn]
[warn] Note: Unresolved dependencies path:
[error] sbt.librarymanagement.ResolveException: Error downloading com.typesafe.sbt:sbt-js-engine;sbtVersion=1.0;scalaVersion=2.12:1.2.3
[error] Not found
[error] Not found
[error] not found: https://repo1.maven.org/maven2/com/typesafe/sbt/sbt-js-engine_2.12_1.0/1.2.3/sbt-js-engine-1.2.3.pom
not found: https://repo.typesafe.com/typesafe/releases/com/typesafe/sbt/sbt-js-engine_2.12_1.0/1.2.3/sbt-js-engine-1.2.3.pom
lib:
问题Error downloading com.typesafe.sbt:sbt-js-engine;sbtVersion=1.0;scalaVersion=2.12:1.2.3
,当我检查https://repo1.maven.org/maven2/com/typesafe/sbt时,所有这些依赖项都丢失了。
我能做些什么吗?甚至是信息,为什么这些文物被移走了?
:
repository: https://repo.typesafe.com/typesafe/releases/重定向到https://dl.cloudsmith.io/public/lightbend/maven-releases/maven/也许问题出在dl。cloudsmith。io上?
更新# 2:
看起来像在sbt github repo上,被创建了与此中断相关的票据:https://github.com/sbt/sbt/issues/7202(感谢@SethTisue)
如果源存储库是公共的,您可以临时使用https://jitpack.io和标签来获取新的maven坐标并使构建工作。
这可以在maven上工作,但不确定是否也可以在sbt上工作。
最后,在删除了所有缓存的库(在mac上:~/Library/Caches/Coursier/v1/https
)之后,sbt能够从repo.scala-sbt.org:
sbt-js-engine
。https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.typesafe.sbt/sbt-js-engine/scala_2.12/sbt_1.0/1.2.3/ivys/ivy.xml