Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试通过运行来发布我的一个插件的新版本
grails publish-plugin
但我收到 401 错误。这似乎是因为我使用了错误的用户名和密码。但是,在运行此命令时,我找不到任何方法来指定我的用户名和密码。
您可以在以下位置定义它~/.grails/settings.groovy:
~/.grails/settings.groovy
grails.project.repos.grailsCentral.username="..." grails.project.repos.grailsCentral.password="..." grails.release.scm.enabled=false