English 中文(简体)
释放 grail 插件出错
原标题:error releasing grails plugin

我试图通过运行来发布我插件之一的新版本

grails publish-plugin

但我有401个错误。 这似乎是因为我在使用 < a href=" http:// grails.1312388.n4.n4.nbble.com/401- 何时向Grails- central-repo- td4570924. html" rel=“ nofollow” >wrong用户名和密码 。 然而,我无法找到任何方法来指定执行此命令时的用户名和密码 。

最佳回答

您可以在 上定义它:

grails.project.repos.grailsCentral.username="..."
grails.project.repos.grailsCentral.password="..."
grails.release.scm.enabled=false
问题回答

暂无回答




相关问题
grails + gwt request handling via controllers

I am new to gwt. I am trying to integrate gwt+grails.Can anybody provide me a good example for handling the request using grails controllers and not a custom servlet.I will be really thankful if ...

Error loading the grails gwt module xml

I ve installed the plugin from this article by Peter http://www.cacoethes.co.uk/blog/groovyandgrails/the-command-pattern-w.... While compile time its not able to find the module file which is present ...

Sorting Objects Based on Custom Domain Class Methods

I have a domain class, in which I ve defined some methods which give the object a score based on different algorithms (eg. popularity). I now want to retrieve a list of these objects sorted by one of ...

Grails Packaging and Naming Conventions

Packaging Controllers, Services,etc. i.e. - com.company.controllers - com.company.services Is this a good practice or should be avoided by all means?? Another worth mentioning problem I encountered ...

Hibernate/GORM: collection was not processed by flush()

I have an integration test in my Grails application that fails when I try to save an entity of type Member invitingMember.save(flush: true) This raises the following exception org.hibernate....