简体   繁体   English

grails-plugin-publish 在 grails 4.0.11 中不可用?

[英]grails-plugin-publish unavailable in grails 4.0.11?

I'm attempting to upgrade a grails plugin from grails version 4.0.3 to 4.0.11 and get the following error immediately after changing the grails and GORM versions:我正在尝试将 grails 插件从 grails 版本4.0.3升级到4.0.11 ,并在更改 grails 和 GORM 版本后立即收到以下错误:

A problem occurred evaluating root project 'my-plugin-project'.
> Plugin with id 'org.grails.grails-plugin-publish' not found.

I get this same error in a new project generated from grails create-plugin as well, so I don't think it's something I'm doing inherently wrong.我在从grails create-plugin生成的新项目中也遇到了同样的错误,所以我认为这不是我做错的事情。

This appears to be a bug in 4.0.11 as upgrading to 4.0.10 seems to load fine.这似乎是4.0.11中的错误,因为升级到4.0.10似乎可以正常加载。

grails-plugin-publish unavailable in grails 4.0.11? grails-plugin-publish 在 grails 4.0.11 中不可用?

Right, it is not available in 4.0.11.是的,它在 4.0.11 中不可用。

That was intentional as it is no longer needed.这是故意的,因为不再需要它。 However, there is a bug in that newly created plugin projects created with 4.0.11 still express a dependency on it.但是,有一个错误,即使用 4.0.11 创建的新创建的插件项目仍然表示对它的依赖。 That is simple enough to remedy by just deleting the line of code that applies the plugin, but we will be fixing the project generation so that isn't necessary.这很简单,只需删除应用插件的代码行即可补救,但我们将修复项目生成,因此没有必要这样做。 Leaving it there was just an accident.离开它只是一个意外。

See github.com/grails/grails-core/issues/12007 .请参阅github.com/grails/grails-core/issues/12007

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM