TLDR:flyway-sbt
Scala2.12
和 SBT是否有公开可用的 jar 包1.0
?
有没有其他人flyway-sbt
在使用 Scala 时遇到依赖解析问题2.12
?查看下面的 URL,它们确实不存在。
[warn] module not found: org.flywaydb#flyway-sbt;4.0
[warn] ==== typesafe-ivy-releases: tried
[warn] https://repo.typesafe.com/typesafe/ivy-releases/org.flywaydb/flyway-sbt/scala_2.12/sbt_1.0//4.0/ivys/ivy.xml
[warn] ==== sbt-plugin-releases: tried
[warn] https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/org.flywaydb/flyway-sbt/scala_2.12/sbt_1.0//4.0/ivys/ivy.xml
[warn] ==== local: tried
[warn] /Users/adu/.ivy2/local/org.flywaydb/flyway-sbt/scala_2.12/sbt_1.0//4.0/ivys/ivy.xml
[warn] ==== public: tried
[warn] https://repo1.maven.org/maven2/org/flywaydb/flyway-sbt_2.12_1.0/4.0/flyway-sbt-4.0.pom
[warn] ==== local-preloaded-ivy: tried
[warn] /Users/adu/.sbt/preloaded/org.flywaydb/flyway-sbt/4.0/ivys/ivy.xml
[warn] ==== local-preloaded: tried
[warn] file:////Users/adu/.sbt/preloaded/org/flywaydb/flyway-sbt_2.12_1.0/4.0/flyway-sbt-4.0.pom
[warn] ==== Flyway: tried
[warn] https://flywaydb.org/repo/org/flywaydb/flyway-sbt_2.12_1.0/4.0/flyway-sbt-4.0.pom
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: org.flywaydb#flyway-sbt;4.0: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn] Note: Some unresolved dependencies have extra attributes. Check that these dependencies exist with the requested attributes.
[warn] org.flywaydb:flyway-sbt:4.0 (scalaVersion=2.12, sbtVersion=1.0)
[warn]
[warn] Note: Unresolved dependencies path:
[warn] org.flywaydb:flyway-sbt:4.0 (scalaVersion=2.12, sbtVersion=1.0) (/Users/adu/workspace/seed-play/project/plugins.sbt#L42-43)
[warn] +- default:seed-play-build:0.1-SNAPSHOT (scalaVersion=2.12, sbtVersion=1.0)
[error] sbt.librarymanagement.ResolveException: unresolved dependency: org.flywaydb#flyway-sbt;4.0: not found
这些是我的plugins.sbt
文件的补充:
resolvers += "Flyway" at "https://flywaydb.org/repo"
addSbtPlugin("org.flywaydb" % "flyway-sbt" % "4.0")