Details
-
Type:
Publishing Support
-
Status: Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Labels:
-
Group Id:null
-
Publishing Hostname:oss.sonatype.org
-
Modify publishing permissions?:No
Description
I have created a JIRA ticket for registration of the groupId:com.github.javawebers.
https://issues.sonatype.org/browse/OSSRH-44489
https://issues.sonatype.org/browse/OSSRH-44490
https://issues.sonatype.org/browse/OSSRH-44844
Also i have completed the pgp set up...
but when i am running the deploy i am getting the following error:
I used the username is likeabook.
[INFO] — nexus-staging-maven-plugin:1.6.8:deploy (injected-nexus-deploy) @ yt-web —
[INFO] Performing local staging (local stagingDirectory="D:\0.1.myself\javawebers\yt-web\target\nexus-staging\staging")...
[INFO] + Using server credentials "release" from Maven settings.
[INFO] * Connected to Nexus at https://oss.sonatype.org:443/, is version 2.14.15-01 and edition "Professional"
[INFO] * Using staging profile ID "826a228cea62e2" (matched by Nexus).
[INFO] Installing D:\0.1.myself\javawebers\yt-web\target\yt-web-1.4.0.jar to D:\0.1.myself\javawebers\yt-web\target\nexus-staging\staging\826a228cea62e2\com\github\javawebers\yt-web\1.4.0\yt-web-1.4.0.jar
[INFO] Installing D:\0.1.myself\javawebers\yt-web\pom.xml to D:\0.1.myself\javawebers\yt-web\target\nexus-staging\staging\826a228cea62e2\com\github\javawebers\yt-web\1.4.0\yt-web-1.4.0.pom
[INFO] Installing D:\0.1.myself\javawebers\yt-web\target\yt-web-1.4.0-sources.jar to D:\0.1.myself\javawebers\yt-web\target\nexus-staging\staging\826a228cea62e2\com\github\javawebers\yt-web\1.4.0\yt-web-1.4.0-sources.jar
[INFO] Installing D:\0.1.myself\javawebers\yt-web\target\yt-web-1.4.0-javadoc.jar to D:\0.1.myself\javawebers\yt-web\target\nexus-staging\staging\826a228cea62e2\com\github\javawebers\yt-web\1.4.0\yt-web-1.4.0-javadoc.jar
[INFO] Installing D:\0.1.myself\javawebers\yt-web\target\yt-web-1.4.0.jar.asc to D:\0.1.myself\javawebers\yt-web\target\nexus-staging\staging\826a228cea62e2\com\github\javawebers\yt-web\1.4.0\yt-web-1.4.0.jar.asc
[INFO] Installing D:\0.1.myself\javawebers\yt-web\target\yt-web-1.4.0.pom.asc to D:\0.1.myself\javawebers\yt-web\target\nexus-staging\staging\826a228cea62e2\com\github\javawebers\yt-web\1.4.0\yt-web-1.4.0.pom.asc
[INFO] Installing D:\0.1.myself\javawebers\yt-web\target\yt-web-1.4.0-sources.jar.asc to D:\0.1.myself\javawebers\yt-web\target\nexus-staging\staging\826a228cea62e2\com\github\javawebers\yt-web\1.4.0\yt-web-1.4.0-sources.jar.asc
[INFO] Installing D:\0.1.myself\javawebers\yt-web\target\yt-web-1.4.0-javadoc.jar.asc to D:\0.1.myself\javawebers\yt-web\target\nexus-staging\staging\826a228cea62e2\com\github\javawebers\yt-web\1.4.0\yt-web-1.4.0-javadoc.jar.asc
[INFO] Performing remote staging...
[INFO]
[INFO] * Remote staging into staging profile ID "826a228cea62e2"
[ERROR] Remote staging finished with a failure: 403 - Forbidden
[ERROR]
[ERROR] Possible causes of 403 Forbidden:
[ERROR] * you have no permissions to stage against profile with ID "826a228cea62e2"? Get to Nexus admin...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 27.735 s
[INFO] Finished at: 2019-11-11T15:58:00+08:00
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "release" could not be activated because it does not exist.
[ERROR] Failed to execute goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.8:deploy (injected-nexus-deploy) on project yt-web: Remote staging failed: 403 - Forbidden -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException