Details
-
Publishing Support
-
Resolution: Duplicate
-
Major
-
null
-
oss.sonatype.org
-
No
Description
Thank you for setting up my project OSSRH-40170
I am now unable to perform a release. I get the following Forbidden error when running the maven "deploy" command using a release version:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project poller-maven-plugin: Failed to deploy artifacts: Could not transfer artifact com.digitalml.plugins:poller-maven-plugin:jar:1.0 from/to ossrh (https://oss.sonatype.org/service/local/staging/deploy/maven2/): Access denied to: https://oss.sonatype.org/service/local/staging/deploy/maven2/com/digitalml/plugins/poller-maven-plugin/1.0/poller-maven-plugin-1.0.jar, ReasonPhrase: Forbidden. -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project poller-maven-plugin: Failed to deploy artifacts: Could not transfer artifact com.digitalml.plugins:poller-maven-plugin:jar:1.0 from/to ossrh (https://oss.sonatype.org/service/local/staging/deploy/maven2/): Access denied to: https://oss.sonatype.org/service/local/staging/deploy/maven2/com/digitalml/plugins/poller-maven-plugin/1.0/poller-maven-plugin-1.0.jar, ReasonPhrase: Forbidden. at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
I am able to successfully upload a snapshot version, and have verified it is available here:
https://oss.sonatype.org/content/repositories/snapshots/com/digitalml/plugins/
Can you clarify why I'm getting a "Forbidden" error when promoting to release? I have the Access token from Sonatype set in my settings.xml with the corresponding id set against each repo in my pom:
The pom is here:
https://pastebin.com/GxUJpmKy
Attachments
Issue Links
- is related to
-
OSSRH-40170 Ignite Poller Maven Plugin
-
- Closed
-