从今天开始,由于未解决的依赖关系,CI 无法构建 playframework 项目。我什至克隆了 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时,所有这些依赖项都丢失了。
我可以做什么?甚至信息,为什么这个工件被删除?
更新:
存储库:https://repo.typesafe.com/typesafe/releases/ 将我重定向到https://dl.cloudsmith.io/public/lightbend/maven-releases/maven/ 所以也许问题出在 dl.cloudsmith.io 上?
如果源存储库是公开的,您可以暂时使用 https://jitpack.io 和标签来获取新的 Maven 坐标并使构建工作。
这适用于 maven 不确定它是否也适用于 sbt.