Dónal
Dónal

Reputation: 187379

error releasing grails plugin

I'm trying to release a new version of one of my plugins by running

grails publish-plugin

but I'm getting a 401 error. This seems to be because I'm using the wrong username and password. However, I can't find any way to specify my username and password when running this command.

Upvotes: 1

Views: 109

Answers (1)

Igor Artamonov
Igor Artamonov

Reputation: 35951

You can define it at ~/.grails/settings.groovy:

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

Upvotes: 2

Related Questions