gradle / gradle/plugin-portal-requests

Publication fails and plugin cannot be published anymore

Open
#40 15 comments 4 reactions 0 assignees View on GitHub
a:bug portal
Dominant language
No language data
Stars
15
Forks
6
PR merge metrics
No merged PRs in 30d

Description

Hello,

### Current Behavior
I tried to publish plugin `org.siouan.frontend` with version 2.1.0 few minutes ago. Publication fails with the Javadoc artifact, and a 403 error. Now I can't publish again the plugin because Gradle reports it already exists, although the version is not visible in the portal yet, and I cannot delete it.

### Steps to Reproduce
Below you will find Gradle output for the two publication attempts:
```bat
D:\...\frontend-gradle-plugin>gradlew publishPlugins
Starting a Gradle Daemon, 2 incompatible and 2 stopped Daemons could not be reused, use --status for details

> Task :publishPlugins
Publishing plugin org.siouan.frontend version 2.1.0
Publishing artifact build/libs/frontend-gradle-plugin-2.1.0.jar
Publishing artifact build/libs/frontend-gradle-plugin-2.1.0-sources.jar
Publishing artifact build/libs/frontend-gradle-plugin-2.1.0-javadoc.jar

> Task :publishPlugins FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':publishPlugins'.
> java.io.IOException: Unexpected HTTP response while uploading D:\...\frontend-gradle-plugin\build\libs\frontend-gradle-plugin-2.1.0-javadoc.jar: 403 Forbidden

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1m 7s
9 actionable tasks: 7 executed, 2 up-to-date

D:\...\frontend-gradle-plugin>gradlew publishPlugins

> Task :publishPlugins FAILED
Publishing plugin org.siouan.frontend version 2.1.0

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':publishPlugins'.
> Failed to post to server.
Server responded with:
Plugin: 'org.siouan.frontend', version: '2.1.0' exists already. It was created: 2020-04-27 06:31:45.18

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 2s
9 actionable tasks: 2 executed, 7 up-to-date
```

### Your Environment
Gradle : 6.3
JDK : 11.0.6 64 bits
O/S : Windows 10 Pro

My requests:
- Can you remove any 2.1.0 artifacts already published so as I can try again publishing?
- Can you also update the plugin description on the portal please? Actually, the description is "Integrate your frontend NPM/Yarn build into a Gradle build.", while it is expected to be "Build Node.js, npm, Yarn applications with Gradle."

Thanks in advance for your help!
BR,
Vincent

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.