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.

Sonatype JIRA | Adam Gabryś | 1 year ago
  1. 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.
  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

    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.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Maven Eclipse - User - I am getting exception with running mvn -X archetype:generate -DgroupId command

    nabble.com | 3 months ago
    org.apache.maven.plugin.PluginResolutionException: Plugin org.apache.maven.plugins:maven-deploy-plugin:2.7 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-deploy-plugin:jar:2.7
  6. 0

    Maven Eclipse - User - I am getting exception with running mvn -X archetype:generate -DgroupId command

    nabble.com | 3 months ago
    org.apache.maven.plugin.PluginResolutionException: Plugin org.apache.maven.plugins:maven-dependency-plugin:2.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-dependency-plugin:jar:2.1

    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/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()
    2. Maven
      AbstractHttpClientWagon.put
      1. org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:617)
      2. org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:541)
      3. org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:523)
      4. org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:517)
      5. org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:497)
      5 frames
    3. Aether Transport Wagon
      WagonTransporter.put
      1. org.eclipse.aether.transport.wagon.WagonTransporter$PutTaskRunner.run(WagonTransporter.java:644)
      2. org.eclipse.aether.transport.wagon.WagonTransporter.execute(WagonTransporter.java:427)
      3. org.eclipse.aether.transport.wagon.WagonTransporter.put(WagonTransporter.java:410)
      3 frames
    4. Aether Connector Basic
      BasicRepositoryConnector.put
      1. org.eclipse.aether.connector.basic.BasicRepositoryConnector$PutTaskRunner.runTask(BasicRepositoryConnector.java:510)
      2. org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:350)
      3. org.eclipse.aether.connector.basic.BasicRepositoryConnector.put(BasicRepositoryConnector.java:274)
      3 frames
    5. Aether Implementation
      DefaultRepositorySystem.deploy
      1. org.eclipse.aether.internal.impl.DefaultDeployer.deploy(DefaultDeployer.java:311)
      2. org.eclipse.aether.internal.impl.DefaultDeployer.deploy(DefaultDeployer.java:245)
      3. org.eclipse.aether.internal.impl.DefaultRepositorySystem.deploy(DefaultRepositorySystem.java:413)
      3 frames
    6. Maven
      DefaultArtifactDeployer.deploy
      1. org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:139)
      1 frame
    7. org.apache.maven
      DeployMojo.execute
      1. org.apache.maven.plugin.deploy.AbstractDeployMojo.deploy(AbstractDeployMojo.java:171)
      2. org.apache.maven.plugin.deploy.DeployMojo.deployProject(DeployMojo.java:250)
      3. org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:169)
      3 frames
    8. Maven Plugin
      DefaultBuildPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
      1 frame
    9. 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:116)
      5. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
      6. org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
      7. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
      8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
      9. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
      10. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
      10 frames
    10. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)
      2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)
      3. org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
      3 frames
    11. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    12. 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