Details
-
Type:
New Project
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Group Id:com.github.abhinavmishra14
-
Username(s):abhinavmishra14
-
Already Synced to Central:No
Description
Hi
I want to upload my new aws-s3-utils project. Please create repository.
I used the instructions given at :
I am getting below error: http://central.sonatype.org/pages/apache-maven.html and
https://ruleoftech.com/2014/distribute-projects-artifacts-in-maven-central-with-ossrh
[DEBUG] Authentication succeeded
[DEBUG] << "<nexus-error>[\n]"
[DEBUG] << " <errors>[\n]"
[DEBUG] << " <error>[\n]"
[DEBUG] << " <id>*</id>[\n]"
[DEBUG] << " <msg>User 'abhinavmishra14' missing 'promote' permission for staging profile: 7edbe315063867</msg>[\n]"
[DEBUG] << " </error>[\n]"
[DEBUG] << " </errors>[\n]"
[DEBUG] << "</nexus-error>"
[DEBUG] Connection [id: 0][route:
[DEBUG] Connection released: [id: 0][route: {s}
->https://oss.sonatype.org:443][total kept alive: 1; route allocated: 1 of 2; total allocated: 1 of 20]
Feb 28, 2016 11:59:08 AM com.sun.jersey.api.client.filter.LoggingFilter log
INFO: 3 * Client in-bound response
3 < 403
3 < Content-Type: application/xml; charset=UTF-8
3 < Date: Sun, 28 Feb 2016 06:28:52 GMT
3 < Server: nginx
3 < X-Content-Type-Options: nosniff
3 < X-Frame-Options: SAMEORIGIN
3 < Content-Length: 218
3 < Connection: keep-alive
3 <
<nexus-error>
<errors>
<error>
<id>*</id>
<msg>User 'abhinavmishra14' missing 'promote' permission for staging profile: 7edbe315063867</msg>
</error>
</errors>
</nexus-error>
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.885 s
[INFO] Finished at: 2016-02-28T11:59:08+05:30
[INFO] Final Memory: 21M/167M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.3:release (default-cli) on project aws-s3-utils: Execution default-cli of goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.3:release failed: 403 - Forbidden -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.3:release (default-cli) on project aws-s3-utils: Execution default-cli of goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.3:release failed: 403 - Forbidden
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-cli of goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.3:release failed: 403 - Forbidden
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
... 20 more
Caused by: org.sonatype.nexus.client.core.exception.NexusClientAccessForbiddenException: 403 - Forbidden
at org.sonatype.nexus.client.rest.jersey.JerseyNexusClient.convertIf403(JerseyNexusClient.java:228)
at org.sonatype.nexus.client.rest.jersey.JerseyNexusClient.convertIfKnown(JerseyNexusClient.java:287)
at com.sonatype.nexus.staging.client.internal.ExceptionConverter.handleUniformInterfaceException(ExceptionConverter.java:52)
at com.sonatype.nexus.staging.client.internal.ExceptionConverter.runAndReturn(ExceptionConverter.java:42)
at com.sonatype.nexus.staging.client.internal.StagingWorkflowV2ServiceImpl.releaseStagingRepositories(StagingWorkflowV2ServiceImpl.java:276)
at com.sonatype.nexus.staging.client.internal.StagingWorkflowV3ServiceImpl.releaseStagingRepositories(StagingWorkflowV3ServiceImpl.java:92)
at org.sonatype.nexus.maven.staging.workflow.ReleaseStageRepositoryMojo.doExecute(ReleaseStageRepositoryMojo.java:56)
at org.sonatype.nexus.maven.staging.workflow.AbstractStagingActionMojo.execute(AbstractStagingActionMojo.java:56)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
... 21 more
[ERROR]
[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/PluginExecutionException