Using Gradle 2.13 and plugin-publish-plugin:0.9.3 (can’t use 0.9.4 => Can’t publish gradle plugin) I get the following exception
Caused by: java.lang.RuntimeException: Failed to post to server.
Server responded with:
The user does not have permission to create a new plugin with ID: org.codehaus.griffon.griffon
at com.gradle.publish.ResponseUtil.assertValidResponse(ResponseUtil.java:17)
at com.gradle.publish.OAuthHttpClient.send(OAuthHttpClient.java:78)
at com.gradle.publish.PublishTask.doSignedPost(PublishTask.java:294)
at com.gradle.publish.PublishTask.publishToPortal(PublishTask.java:177)
at com.gradle.publish.PublishTask.publish(PublishTask.java:57)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.doExecute(AnnotationProcessingTaskFactory.java:228)
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:221)
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:210)
at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:585)
at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:568)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
... 71 more
There’s no additional indication on why there’s no access allowed or how to fix the problem. I’ve successfully posted a new release of the stats-gradle-plugin
using the instructions laid out at the Plugin Portal, I’m pretty sure my account/API KEY worked in the past. Any clues on how to fix this would be greatly appreciated.