grails - 发布grails插件时出错

标签 grails grails-plugin

我正在尝试通过运行来发布我的一个插件的新版本

grails publish-plugin

但出现401错误。这似乎是因为我正在使用wrong username and password。但是,在运行此命令时,找不到任何方法来指定我的用户名和密码。

最佳答案

您可以在~/.grails/settings.groovy上定义它:

grails.project.repos.grailsCentral.username="..."
grails.project.repos.grailsCentral.password="..."
grails.release.scm.enabled=false

关于grails - 发布grails插件时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10741350/

相关文章:

grails - Grails用户和密码保护到URL

authentication - Grails Spring Security Core 创建新用户

ajax - 如何在不使用Grails的情况下执行 Action ?

tomcat - AtmosphereFramework异常java.lang.IllegalStateException : Not supported

Grails 功能测试 Geb 页面对象模块不起作用 没有方法签名

grails - 无法访问Spring Security UI的注册页面

model-view-controller - 如何扩展/覆盖插件的 Controller 操作?

hibernate - grails 3(spring-boot)-如何配置 hibernate 二级缓存

grails - Grails动态网址映射

grails - grails-Spring Security UI奇怪的行为