org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project vip-delete: Failed to deploy artifacts: Could not transfer artifact com.github:vip-delete:jar:1.7-20140510.221356-1 from/to sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots/): Access denied to: https://oss.sonatype.org/content/repositories/snapshots/com/github/vip-delete/1.7-SNAPSHOT/vip-delete-1.7-20140510.221356-1.jar, ReasonPhrase: Forbidden.

Sonatype JIRA | Vasiliy Zhukov | 3 years ago
  1. 0

    I've got an error trying to deploy, first time Access denied to: https://oss.sonatype.org/content/repositories/snapshots/com/github/vip-delete/1.7-SNAPSHOT/vip-delete-1.7-20140510.221356-1.jar, ReasonPhrase: Forbidden. {code} >mvn help:effective-settings ... <settings xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd"> <localRepository xmlns="http://maven.apache.org/SETTINGS/1.1.0">C:\Users\me.delete\.m2\repository</localRepository> <servers xmlns="http://maven.apache.org/SETTINGS/1.1.0"> <server> <username>vip-delete</username> <password>***</password> <id>sonatype-nexus-snapshots</id> </server> <server> <username>vip-delete</username> <password>***</password> <id>sonatype-nexus-staging</id> </server> </servers> <pluginGroups xmlns="http://maven.apache.org/SETTINGS/1.1.0"> <pluginGroup>org.apache.maven.plugins</pluginGroup> <pluginGroup>org.codehaus.mojo</pluginGroup> </pluginGroups> </settings> {code} {code} >mvn -X clean deploy ... [DEBUG] Using connector WagonRepositoryConnector with priority 0.0 for https://oss.sonatype.org/content/repositories/snapshots/ with username=vip-delete, password=*** Downloading: https://oss.sonatype.org/content/repositories/snapshots/com/github/vip-delete/1.7-SNAPSHOT/maven-metadata.xml [DEBUG] Could not find metadata com.github:vip-delete:1.7-SNAPSHOT/maven-metadata.xml in sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots/) [DEBUG] Writing tracking file C:\Users\me.delete\.m2\repository\com\github\vip-delete\1.7-SNAPSHOT\resolver-status.properties Uploading: https://oss.sonatype.org/content/repositories/snapshots/com/github/vip-delete/1.7-SNAPSHOT/vip-delete-1.7-20140510.221356-1.jar 2/5 KB 4/5 KB 5/5 KB Uploading: https://oss.sonatype.org/content/repositories/snapshots/com/github/vip-delete/1.7-SNAPSHOT/vip-delete-1.7-20140510.221356-1.pom 2/5 KB 4/5 KB 5/5 KB [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 8.203 s [INFO] Finished at: 2014-05-11T02:13:58+04:00 [INFO] Final Memory: 28M/361M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project vip-delete: Failed to deploy artifacts: Could not transfer artifact com.github:vip-delete:jar:1.7-20140510.221356-1 from/to sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots/): Access denied to: https://oss.sonatype.org/content/repositories/snapshots/com/github/vip-delete/1.7-SNAPSHOT/vip-delete-1.7-20140510.221356-1.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 vip-delete: Failed to deploy artifacts: Could not transfer artifact com.github:vip-delete:jar:1.7-20140510.221356-1 from/to sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots/): Access denied to: https://oss.sonatype.org/content/repositories/snapshots/com/github/vip-delete/1.7-SNAPSHOT/vip-delete-1.7-20140510.221356-1.jar, ReasonPhrase: Forbidden. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216) 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:108) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213) at org.apache.maven.cli.MavenCli.main(MavenCli.java:157) 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.MojoExecutionException: Failed to deploy artifacts: Could not transfer artifact com.github:vip-delete:jar:1.7-20140510.221356-1 from/to sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots/): Access denied to: https://oss.sonatype.org/content/repositories/snapshots/com/github/vip-delete/1.7-SNAPSHOT/vip-delete-1.7-20140510.221356-1.jar, ReasonPhrase: Forbidden. at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:193) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 19 more Caused by: org.apache.maven.artifact.deployer.ArtifactDeploymentException: Failed to deploy artifacts: Could not transfer artifact com.github:vip-delete:jar:1.7-20140510.221356-1 from/to sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots/): Access denied to: https://oss.sonatype.org/content/repositories/snapshots/com/github/vip-delete/1.7-SNAPSHOT/vip-delete-1.7-20140510.221356-1.jar, ReasonPhrase: Forbidden. at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:143) at org.apache.maven.plugin.deploy.AbstractDeployMojo.deploy(AbstractDeployMojo.java:167) at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:157) ... 21 more Caused by: org.eclipse.aether.deployment.DeploymentException: Failed to deploy artifacts: Could not transfer artifact com.github:vip-delete:jar:1.7-20140510.221356-1 from/to sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots/): Access denied to: https://oss.sonatype.org/content/repositories/snapshots/com/github/vip-delete/1.7-SNAPSHOT/vip-delete-1.7-20140510.221356-1.jar, ReasonPhrase: Forbidden. at org.eclipse.aether.internal.impl.DefaultDeployer.deploy(DefaultDeployer.java:337) at org.eclipse.aether.internal.impl.DefaultDeployer.deploy(DefaultDeployer.java:268) at org.eclipse.aether.internal.impl.DefaultRepositorySystem.deploy(DefaultRepositorySystem.java:413) at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:139) ... 23 more Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Could not transfer artifact com.github:vip-delete:jar:1.7-20140510.221356-1 from/to sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots/): Access denied to: https://oss.sonatype.org/content/repositories/snapshots/com/github/vip-delete/1.7-SNAPSHOT/vip-delete-1.7-20140510.221356-1.jar, ReasonPhrase: Forbidden. at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$6.wrap(WagonRepositoryConnector.java:1016) at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$6.wrap(WagonRepositoryConnector.java:1004) at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$PutTask.run(WagonRepositoryConnector.java:895) at org.eclipse.aether.connector.wagon.WagonRepositoryConnector.put(WagonRepositoryConnector.java:522) at org.eclipse.aether.internal.impl.DefaultDeployer.deploy(DefaultDeployer.java:331) ... 26 more Caused by: org.apache.maven.wagon.authorization.AuthorizationException: Access denied to: https://oss.sonatype.org/content/repositories/snapshots/com/github/vip-delete/1.7-SNAPSHOT/vip-delete-1.7-20140510.221356-1.jar, ReasonPhrase: Forbidden. at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:565) at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:493) at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:474) at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:454) at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$PutTask.run(WagonRepositoryConnector.java:871) ... 28 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/MojoExecutionException {code} Pom: https://github.com/vip-delete/idea-maven-plugin/blob/master/pom.xml

    Sonatype JIRA | 3 years ago | Vasiliy Zhukov
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project vip-delete: Failed to deploy artifacts: Could not transfer artifact com.github:vip-delete:jar:1.7-20140510.221356-1 from/to sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots/): Access denied to: https://oss.sonatype.org/content/repositories/snapshots/com/github/vip-delete/1.7-SNAPSHOT/vip-delete-1.7-20140510.221356-1.jar, ReasonPhrase: Forbidden.
  2. 0

    Could not transfer artifact issue: ReasonPhrase Forbidden when lein deploy clojars

    GitHub | 2 years ago | junjiemars
    org.sonatype.aether.deployment.DeploymentException: Failed to deploy artifacts: Could not transfer artifact org.clojars.junjiemars:lein-packer:pom:0.1.0 from/to clojars (https://clojars.org/repo/): Access denied to: https://clojars.org/repo/org/clojars/junjiemars/lein-packer/0.1.0/lein-packer-0.1.0.pom, ReasonPhrase: Forbidden.
  3. 0

    Probably I do not have permissions to deploy releases in subdirectories of the biz/gabrys (granted by OSSRH-13508). I currently working on several projects: * EasyBundle (biz.gabrys:easy-bundle) * LessCSS Compiler (biz.gabrys.lesscss:compiler) * Extended LessCSS Compiler (biz.gabrys.lesscss:extended-compiler) * Maven Plugin Utils (biz.gabrys.maven:plugin-utils) * LessCSS Maven Plugin (biz.gabrys.maven.plugins:lesscss-maven-plugin) * CSS Splitter Maven Plugin (biz.gabrys.maven.plugin:css-splitter-maven-plugin) * Minify Maven Plugin (biz.gabrys.forks.com.samaxes.maven:minify-maven-plugin) I can deploy snapshots for all projects (https://oss.sonatype.org/content/repositories/snapshots/biz/gabrys/). I successfully deployed EasyBundle 1.0 release at 30-Jan-2015 (1.1 at 28-Feb-2015). Today I tried to deploy Minify Maven Plugin release, but I received an error: {code} [INFO] --- maven-deploy-plugin:2.8.2:deploy (default-deploy) @ minify-maven-plugin --- [INFO] Uploading: https://oss.sonatype.org/service/local/staging/deploy/maven2/biz/gabrys/forks/com/samaxes/maven/minify-maven-plugin/1.6.3/minify-maven-plugin-1.6.3.jar [INFO] Uploading: https://oss.sonatype.org/service/local/staging/deploy/maven2/biz/gabrys/forks/com/samaxes/maven/minify-maven-plugin/1.6.3/minify-maven-plugin-1.6.3.pom [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4.786 s [INFO] Finished at: 2015-07-06T21:41:02+02:00 [INFO] Final Memory: 30M/422M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project minify-maven-plugin: Failed to deploy artifacts: Could not transfer artifact biz.gabrys.forks.com.samaxes.maven:minify-maven-plugin:jar:1.6.3 from/to ossrh (https://oss.sonatype.org/service/local/staging/deploy/maven2): Access denied to: https://oss.sonatype.org/service/local/staging/deploy/maven2/biz/gabrys/forks/com/samaxes/maven/minify-maven-plugin/1.6.3/minify-maven-plugin-1.6.3.jar, ReasonPhrase: Forbidden. -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project minify-maven-plugin: Failed to deploy artifacts: Could not transfer artifact biz.gabrys.forks.com.samaxes.maven:minify-maven-plugin:jar:1.6.3 from/to ossrh (https://oss.sonatype.org/service/local/staging/deploy/maven2): Access denied to: https://oss.sonatype.org/service/local/staging/deploy/maven2/biz/gabrys/forks/com/samaxes/maven/minify-maven-plugin/1.6.3/minify-maven-plugin-1.6.3.jar, ReasonPhrase: Forbidden. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216) 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:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) 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.MojoExecutionException: Failed to deploy artifacts: Could not transfer artifact biz.gabrys.forks.com.samaxes.maven:minify-maven-plugin:jar:1.6.3 from/to ossrh (https://oss.sonatype.org/service/local/staging/deploy/maven2): Access denied to: https://oss.sonatype.org/service/local/staging/deploy/maven2/biz/gabrys/forks/com/samaxes/maven/minify-maven-plugin/1.6.3/minify-maven-plugin-1.6.3.jar, ReasonPhrase: Forbidden. at org.apache.maven.plugin.deploy.DeployMojo.deployProject(DeployMojo.java:284) at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:169) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 20 more Caused by: org.apache.maven.artifact.deployer.ArtifactDeploymentException: Failed to deploy artifacts: Could not transfer artifact biz.gabrys.forks.com.samaxes.maven:minify-maven-plugin:jar:1.6.3 from/to ossrh (https://oss.sonatype.org/service/local/staging/deploy/maven2): Access denied to: https://oss.sonatype.org/service/local/staging/deploy/maven2/biz/gabrys/forks/com/samaxes/maven/minify-maven-plugin/1.6.3/minify-maven-plugin-1.6.3.jar, ReasonPhrase: Forbidden. at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:143) at org.apache.maven.plugin.deploy.AbstractDeployMojo.deploy(AbstractDeployMojo.java:171) at org.apache.maven.plugin.deploy.DeployMojo.deployProject(DeployMojo.java:250) ... 23 more Caused by: org.eclipse.aether.deployment.DeploymentException: Failed to deploy artifacts: Could not transfer artifact biz.gabrys.forks.com.samaxes.maven:minify-maven-plugin:jar:1.6.3 from/to ossrh (https://oss.sonatype.org/service/local/staging/deploy/maven2): Access denied to: https://oss.sonatype.org/service/local/staging/deploy/maven2/biz/gabrys/forks/com/samaxes/maven/minify-maven-plugin/1.6.3/minify-maven-plugin-1.6.3.jar, ReasonPhrase: Forbidden. at org.eclipse.aether.internal.impl.DefaultDeployer.deploy(DefaultDeployer.java:317) at org.eclipse.aether.internal.impl.DefaultDeployer.deploy(DefaultDeployer.java:245) at org.eclipse.aether.internal.impl.DefaultRepositorySystem.deploy(DefaultRepositorySystem.java:413) at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:139) ... 25 more Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Could not transfer artifact biz.gabrys.forks.com.samaxes.maven:minify-maven-plugin:jar:1.6.3 from/to ossrh (https://oss.sonatype.org/service/local/staging/deploy/maven2): Access denied to: https://oss.sonatype.org/service/local/staging/deploy/maven2/biz/gabrys/forks/com/samaxes/maven/minify-maven-plugin/1.6.3/minify-maven-plugin-1.6.3.jar, ReasonPhrase: Forbidden. at org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed(ArtifactTransportListener.java:43) at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:355) at org.eclipse.aether.connector.basic.BasicRepositoryConnector.put(BasicRepositoryConnector.java:274) at org.eclipse.aether.internal.impl.DefaultDeployer.deploy(DefaultDeployer.java:311) ... 28 more Caused by: org.apache.maven.wagon.authorization.AuthorizationException: Access denied to: https://oss.sonatype.org/service/local/staging/deploy/maven2/biz/gabrys/forks/com/samaxes/maven/minify-maven-plugin/1.6.3/minify-maven-plugin-1.6.3.jar, ReasonPhrase: Forbidden. at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:617) at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:541) at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:523) at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:517) at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:497) at org.eclipse.aether.transport.wagon.WagonTransporter$PutTaskRunner.run(WagonTransporter.java:644) at org.eclipse.aether.transport.wagon.WagonTransporter.execute(WagonTransporter.java:427) at org.eclipse.aether.transport.wagon.WagonTransporter.put(WagonTransporter.java:410) at org.eclipse.aether.connector.basic.BasicRepositoryConnector$PutTaskRunner.runTask(BasicRepositoryConnector.java:510) at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:350) ... 30 more [ERROR] [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 {code} User credentials are correct, because I deployed snapshot. I think this issue is similar to the OSSRH-13253.

    Sonatype JIRA | 1 year ago | Adam Gabryƛ
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project minify-maven-plugin: Failed to deploy artifacts: Could not transfer artifact biz.gabrys.forks.com.samaxes.maven:minify-maven-plugin:jar:1.6.3 from/to ossrh (https://oss.sonatype.org/service/local/staging/deploy/maven2): Access denied to: https://oss.sonatype.org/service/local/staging/deploy/maven2/biz/gabrys/forks/com/samaxes/maven/minify-maven-plugin/1.6.3/minify-maven-plugin-1.6.3.jar, ReasonPhrase: Forbidden.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Our daily hudson nightly build failed tonight with the following error. We tried to repeat it, but without succes. Configuration should be ok, because all of the previous builds were deployed succesfully. {code:title=Error} [INFO] [deploy:deploy {execution: default-deploy}] [INFO] Retrieving previous build number from andromda-snapshots Uploading: http://oss.sonatype.org/content/repositories/snapshots/org/andromda/andromda/3.4-SNAPSHOT/andromda-3.4-SNAPSHOT.pom 4/75K 8/75K 12/75K 16/75K 20/75K 24/75K 28/75K 32/75K 36/75K 40/75K 44/75K 48/75K 52/75K 56/75K 60/75K 64/75K 68/75K 72/75K 75/75K [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error deploying artifact: Authorization failed: Access denied to: http://oss.sonatype.org/content/repositories/snapshots/org/andromda/andromda/3.4-SNAPSHOT/andromda-3.4-SNAPSHOT.pom [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error deploying artifact: Authorization failed: Access denied to: http://oss.sonatype.org/content/repositories/snapshots/org/andromda/andromda/3.4-SNAPSHOT/andromda-3.4-SNAPSHOT.pom at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoExecutionException: Error deploying artifact: Authorization failed: Access denied to: http://oss.sonatype.org/content/repositories/snapshots/org/andromda/andromda/3.4-SNAPSHOT/andromda-3.4-SNAPSHOT.pom at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:189) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) ... 17 more Caused by: org.apache.maven.artifact.deployer.ArtifactDeploymentException: Error deploying artifact: Authorization failed: Access denied to: http://oss.sonatype.org/content/repositories/snapshots/org/andromda/andromda/3.4-SNAPSHOT/andromda-3.4-SNAPSHOT.pom at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:121) at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:148) ... 19 more Caused by: org.apache.maven.wagon.TransferFailedException: Authorization failed: Access denied to: http://oss.sonatype.org/content/repositories/snapshots/org/andromda/andromda/3.4-SNAPSHOT/andromda-3.4-SNAPSHOT.pom at org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:352) at org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:227) at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:107) ... 20 more Caused by: org.apache.maven.wagon.authorization.AuthorizationException: Access denied to: http://oss.sonatype.org/content/repositories/snapshots/org/andromda/andromda/3.4-SNAPSHOT/andromda-3.4-SNAPSHOT.pom at org.apache.maven.wagon.providers.http.LightweightHttpWagon.finishPutTransfer(LightweightHttpWagon.java:197) at org.apache.maven.wagon.AbstractWagon.putTransfer(AbstractWagon.java:413) at org.apache.maven.wagon.AbstractWagon.transfer(AbstractWagon.java:392) at org.apache.maven.wagon.AbstractWagon.putTransfer(AbstractWagon.java:365) at org.apache.maven.wagon.StreamWagon.put(StreamWagon.java:163) at org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:317) ... 22 more [INFO] ------------------------------------------------------------------------ {code} {code:title=Configuration} in pom.xml: <distributionManagement> <repository> <id>andromda-releases</id> <name>Andromda Staging Repository</name> <url>http://oss.sonatype.org/service/local/staging/deploy/maven2</url> <uniqueVersion>false</uniqueVersion> </repository> <snapshotRepository> <id>andromda-snapshots</id> <name>Andromda Snapshot Repository</name> <url>http://oss.sonatype.org/content/repositories/snapshots</url> <uniqueVersion>false</uniqueVersion> </snapshotRepository> </distributionManagement> and in settings.xml: <server> <id>andromda-releases</id> <username>andromda</username> <password>......</password> </server> <server> <id>andromda-snapshots</id> <username>andromda</username> <password>......</password> </server> {code}

    Sonatype JIRA | 6 years ago | Michail Plushnikov
    org.apache.maven.lifecycle.LifecycleExecutionException: Error deploying artifact: Authorization failed: Access denied to: http://oss.sonatype.org/content/repositories/snapshots/org/andromda/andromda/3.4-SNAPSHOT/andromda-3.4-SNAPSHOT.pom
  6. 0

    Our daily hudson nightly build failed tonight with the following error. We tried to repeat it, but without succes. Configuration should be ok, because all of the previous builds were deployed succesfully. {code:title=Error} [INFO] [deploy:deploy {execution: default-deploy}] [INFO] Retrieving previous build number from andromda-snapshots Uploading: http://oss.sonatype.org/content/repositories/snapshots/org/andromda/andromda/3.4-SNAPSHOT/andromda-3.4-SNAPSHOT.pom 4/75K 8/75K 12/75K 16/75K 20/75K 24/75K 28/75K 32/75K 36/75K 40/75K 44/75K 48/75K 52/75K 56/75K 60/75K 64/75K 68/75K 72/75K 75/75K [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error deploying artifact: Authorization failed: Access denied to: http://oss.sonatype.org/content/repositories/snapshots/org/andromda/andromda/3.4-SNAPSHOT/andromda-3.4-SNAPSHOT.pom [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error deploying artifact: Authorization failed: Access denied to: http://oss.sonatype.org/content/repositories/snapshots/org/andromda/andromda/3.4-SNAPSHOT/andromda-3.4-SNAPSHOT.pom at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoExecutionException: Error deploying artifact: Authorization failed: Access denied to: http://oss.sonatype.org/content/repositories/snapshots/org/andromda/andromda/3.4-SNAPSHOT/andromda-3.4-SNAPSHOT.pom at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:189) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) ... 17 more Caused by: org.apache.maven.artifact.deployer.ArtifactDeploymentException: Error deploying artifact: Authorization failed: Access denied to: http://oss.sonatype.org/content/repositories/snapshots/org/andromda/andromda/3.4-SNAPSHOT/andromda-3.4-SNAPSHOT.pom at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:121) at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:148) ... 19 more Caused by: org.apache.maven.wagon.TransferFailedException: Authorization failed: Access denied to: http://oss.sonatype.org/content/repositories/snapshots/org/andromda/andromda/3.4-SNAPSHOT/andromda-3.4-SNAPSHOT.pom at org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:352) at org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:227) at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:107) ... 20 more Caused by: org.apache.maven.wagon.authorization.AuthorizationException: Access denied to: http://oss.sonatype.org/content/repositories/snapshots/org/andromda/andromda/3.4-SNAPSHOT/andromda-3.4-SNAPSHOT.pom at org.apache.maven.wagon.providers.http.LightweightHttpWagon.finishPutTransfer(LightweightHttpWagon.java:197) at org.apache.maven.wagon.AbstractWagon.putTransfer(AbstractWagon.java:413) at org.apache.maven.wagon.AbstractWagon.transfer(AbstractWagon.java:392) at org.apache.maven.wagon.AbstractWagon.putTransfer(AbstractWagon.java:365) at org.apache.maven.wagon.StreamWagon.put(StreamWagon.java:163) at org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:317) ... 22 more [INFO] ------------------------------------------------------------------------ {code} {code:title=Configuration} in pom.xml: <distributionManagement> <repository> <id>andromda-releases</id> <name>Andromda Staging Repository</name> <url>http://oss.sonatype.org/service/local/staging/deploy/maven2</url> <uniqueVersion>false</uniqueVersion> </repository> <snapshotRepository> <id>andromda-snapshots</id> <name>Andromda Snapshot Repository</name> <url>http://oss.sonatype.org/content/repositories/snapshots</url> <uniqueVersion>false</uniqueVersion> </snapshotRepository> </distributionManagement> and in settings.xml: <server> <id>andromda-releases</id> <username>andromda</username> <password>......</password> </server> <server> <id>andromda-snapshots</id> <username>andromda</username> <password>......</password> </server> {code}

    Sonatype JIRA | 6 years ago | Michail Plushnikov
    org.apache.maven.lifecycle.LifecycleExecutionException: Error deploying artifact: Authorization failed: Access denied to: http://oss.sonatype.org/content/repositories/snapshots/org/andromda/andromda/3.4-SNAPSHOT/andromda-3.4-SNAPSHOT.pom

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.maven.wagon.authorization.AuthorizationException

      Access denied to: https://oss.sonatype.org/content/repositories/snapshots/com/github/vip-delete/1.7-SNAPSHOT/vip-delete-1.7-20140510.221356-1.jar, ReasonPhrase: Forbidden.

      at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.put()
    2. Maven
      AbstractHttpClientWagon.put
      1. org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:565)
      2. org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:493)
      3. org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:474)
      4. org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:454)
      4 frames
    3. Aether Connector Wagon
      WagonRepositoryConnector.put
      1. org.eclipse.aether.connector.wagon.WagonRepositoryConnector$PutTask.run(WagonRepositoryConnector.java:871)
      2. org.eclipse.aether.connector.wagon.WagonRepositoryConnector.put(WagonRepositoryConnector.java:522)
      2 frames
    4. Aether Implementation
      DefaultRepositorySystem.deploy
      1. org.eclipse.aether.internal.impl.DefaultDeployer.deploy(DefaultDeployer.java:331)
      2. org.eclipse.aether.internal.impl.DefaultDeployer.deploy(DefaultDeployer.java:268)
      3. org.eclipse.aether.internal.impl.DefaultRepositorySystem.deploy(DefaultRepositorySystem.java:413)
      3 frames
    5. Maven
      DefaultArtifactDeployer.deploy
      1. org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:139)
      1 frame
    6. org.apache.maven
      DeployMojo.execute
      1. org.apache.maven.plugin.deploy.AbstractDeployMojo.deploy(AbstractDeployMojo.java:167)
      2. org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:157)
      2 frames
    7. Maven Plugin
      DefaultBuildPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)
      1 frame
    8. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
      2. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
      3. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
      4. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:108)
      5. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76)
      6. org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
      7. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116)
      8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
      9. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
      9 frames
    9. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
      2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
      3. org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
      3 frames
    10. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    11. Plexus
      Launcher.main
      1. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
      2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
      3. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
      4. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
      4 frames