grails4 中的数据库迁移插件错误

cha*_*pta 5 grails groovy database-migration gradle

我正在研究 grails 项目版本 4

每当我运行项目或执行 gradle build 或 clean

我收到以下错误

> Could not resolve all artifacts for configuration ':classpath'.
   > Could not find org.grails.plugins:database-migration:3.1.0.BUILD-SNAPSHOT.
     Searched in the following locations:
       - https://repo.grails.org/grails/core/org/grails/plugins/database-migration/3.1.0.BUILD-SNAPSHOT/maven-metadata.xml
       - https://repo.grails.org/grails/core/org/grails/plugins/database-migration/3.1.0.BUILD-SNAPSHOT/database-migration-3.1.0.BUILD-SNAPSHOT.pom
       - https://repo.grails.org/grails/core/org/grails/plugins/database-migration/3.1.0.BUILD-SNAPSHOT/database-migration-3.1.0.BUILD-SNAPSHOT.jar
     Required by:
         project :
Run Code Online (Sandbox Code Playgroud)

小智 6

似乎所有插件存储库现在都返回 404,示例:

不确定发生了什么,但是如果您使用 grails 3+,您可以尝试添加https://grails.jfrog.io/grails/core到您的存储库关闭(作为临时修复),如下所示:

repositories {
  mavenLocal()
  maven { url "https://repo.grails.org/grails/core" }
  maven { url "https://grails.jfrog.io/grails/core"}
}
Run Code Online (Sandbox Code Playgroud)

虽然我想知道官方回购发生了什么,但也许可以从 grails 人那里听到这件事。我希望他们至少尽快解决它,因为使用我们的旧 grails 2 应用程序修复它并不容易。