org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.5:deploy (default-deploy) on project npg-services: Failed to deploy artifacts: Could not transfer artifact com.nature:npg-services:war:1.1.0-20110421.105459-1 from/to Snapshots (http://.../content/repositories/snapshots): Failed to transfer file: http://.../content/repositories/snapshots/com/nature/npg-services/1.1.0-SNAPSHOT/npg-services-1.1.0-20110421.105459-1.war. Return code is: 502

Sonatype JIRA | Miguel de Melo | 6 years ago
  1. 0

    This SNAPSHOT artifact was happily uploading to nexus using the deploy plugin, until it increased size and now when it reaches the magic number 37933 KB just stops. 1) Is this something you've seen before? 2) is it an open source distro limitation? 3) is it configurable? Uploading: http://.../1.1.0-SNAPSHOT/npg-services-1.1.0-20110421.105459-4.war 37933 KB ... [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.5:deploy (default-deploy) on project npg-services: Failed to deploy artifacts: Could not transfer artifact com.nature:npg-services:war:1.1.0-20110421.105459-1 from/to Snapshots (http://.../content/repositories/snapshots): Failed to transfer file: http://.../content/repositories/snapshots/com/nature/npg-services/1.1.0-SNAPSHOT/npg-services-1.1.0-20110421.105459-1.war. Return code is: 502 -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.5:deploy (default-deploy) on project npg-services: Failed to deploy artifacts: Could not transfer artifact com.nature:npg-services:war:1.1.0-20110421.105459-1 from/to Snapshots (http://.../content/repositories/snapshots): Failed to transfer file: http://.../content/repositories/snapshots/com/nature/npg-services/1.1.0-SNAPSHOT/npg-services-1.1.0-20110421.105459-1.war. Return code is: 502 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217) 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:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:534) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) 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.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to deploy artifacts: Could not transfer artifact com.nature:npg-services:war:1.1.0-20110421.105459-1 from/to Snapshots (http://.../content/repositories/snapshots): Failed to transfer file: http://.../content/repositories/snapshots/com/nature/npg-services/1.1.0-SNAPSHOT/npg-services-1.1.0-20110421.105459-1.war. Return code is: 502 at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:189) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) ... 19 more Caused by: org.apache.maven.artifact.deployer.ArtifactDeploymentException: Failed to deploy artifacts: Could not transfer artifact com.nature:npg-services:war:1.1.0-20110421.105459-1 from/to Snapshots (http://.../content/repositories/snapshots): Failed to transfer file: http://.../content/repositories/snapshots/com/nature/npg-services/1.1.0-SNAPSHOT/npg-services-1.1.0-20110421.105459-1.war. Return code is: 502 at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:140) at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:156) ... 21 more Caused by: org.sonatype.aether.deployment.DeploymentException: Failed to deploy artifacts: Could not transfer artifact com.nature:npg-services:war:1.1.0-20110421.105459-1 from/to Snapshots (http://.../content/repositories/snapshots): Failed to transfer file: http://.../content/repositories/snapshots/com/nature/npg-services/1.1.0-SNAPSHOT/npg-services-1.1.0-20110421.105459-1.war. Return code is: 502 at org.sonatype.aether.impl.internal.DefaultDeployer.deploy(DefaultDeployer.java:259) at org.sonatype.aether.impl.internal.DefaultRepositorySystem.deploy(DefaultRepositorySystem.java:380)

    Sonatype JIRA | 6 years ago | Miguel de Melo
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.5:deploy (default-deploy) on project npg-services: Failed to deploy artifacts: Could not transfer artifact com.nature:npg-services:war:1.1.0-20110421.105459-1 from/to Snapshots (http://.../content/repositories/snapshots): Failed to transfer file: http://.../content/repositories/snapshots/com/nature/npg-services/1.1.0-SNAPSHOT/npg-services-1.1.0-20110421.105459-1.war. Return code is: 502
  2. 0

    This SNAPSHOT artifact was happily uploading to nexus using the deploy plugin, until it increased size and now when it reaches the magic number 37933 KB just stops. 1) Is this something you've seen before? 2) is it an open source distro limitation? 3) is it configurable? Uploading: http://.../1.1.0-SNAPSHOT/npg-services-1.1.0-20110421.105459-4.war 37933 KB ... [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.5:deploy (default-deploy) on project npg-services: Failed to deploy artifacts: Could not transfer artifact com.nature:npg-services:war:1.1.0-20110421.105459-1 from/to Snapshots (http://.../content/repositories/snapshots): Failed to transfer file: http://.../content/repositories/snapshots/com/nature/npg-services/1.1.0-SNAPSHOT/npg-services-1.1.0-20110421.105459-1.war. Return code is: 502 -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.5:deploy (default-deploy) on project npg-services: Failed to deploy artifacts: Could not transfer artifact com.nature:npg-services:war:1.1.0-20110421.105459-1 from/to Snapshots (http://.../content/repositories/snapshots): Failed to transfer file: http://.../content/repositories/snapshots/com/nature/npg-services/1.1.0-SNAPSHOT/npg-services-1.1.0-20110421.105459-1.war. Return code is: 502 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217) 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:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:534) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) 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.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to deploy artifacts: Could not transfer artifact com.nature:npg-services:war:1.1.0-20110421.105459-1 from/to Snapshots (http://.../content/repositories/snapshots): Failed to transfer file: http://.../content/repositories/snapshots/com/nature/npg-services/1.1.0-SNAPSHOT/npg-services-1.1.0-20110421.105459-1.war. Return code is: 502 at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:189) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) ... 19 more Caused by: org.apache.maven.artifact.deployer.ArtifactDeploymentException: Failed to deploy artifacts: Could not transfer artifact com.nature:npg-services:war:1.1.0-20110421.105459-1 from/to Snapshots (http://.../content/repositories/snapshots): Failed to transfer file: http://.../content/repositories/snapshots/com/nature/npg-services/1.1.0-SNAPSHOT/npg-services-1.1.0-20110421.105459-1.war. Return code is: 502 at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:140) at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:156) ... 21 more Caused by: org.sonatype.aether.deployment.DeploymentException: Failed to deploy artifacts: Could not transfer artifact com.nature:npg-services:war:1.1.0-20110421.105459-1 from/to Snapshots (http://.../content/repositories/snapshots): Failed to transfer file: http://.../content/repositories/snapshots/com/nature/npg-services/1.1.0-SNAPSHOT/npg-services-1.1.0-20110421.105459-1.war. Return code is: 502 at org.sonatype.aether.impl.internal.DefaultDeployer.deploy(DefaultDeployer.java:259) at org.sonatype.aether.impl.internal.DefaultRepositorySystem.deploy(DefaultRepositorySystem.java:380)

    Sonatype JIRA | 6 years ago | Miguel de Melo
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.5:deploy (default-deploy) on project npg-services: Failed to deploy artifacts: Could not transfer artifact com.nature:npg-services:war:1.1.0-20110421.105459-1 from/to Snapshots (http://.../content/repositories/snapshots): Failed to transfer file: http://.../content/repositories/snapshots/com/nature/npg-services/1.1.0-SNAPSHOT/npg-services-1.1.0-20110421.105459-1.war. Return code is: 502
  3. 0

    Jenkins/Hudson - How to deploy builds into a directory on the local filesystem

    Stack Overflow | 5 years ago | Tomas
    org.apache.maven.artifact.deployer.ArtifactDeploymentException: Failed to deploy artifacts/metadata: No connector available to access repository (/home/tomas/.m2/repository) of type default using the available factories WagonRepositoryConnectorFactory
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    mvn deploy fails since upgrade to 1.442

    Google Groups | 5 years ago | jljouannic
    org.apache.maven.artifact.deployer.ArtifactDeploymentException: Failed to deploy artifacts: Could not transfer artifact com.my-company:my- artifact:jar:0.0.2-20111207.095055-6 from/to my-company-snapshots (http://my-server/snapshots): Failed to transfer file: http://my-server/snapshots/com/my-company/my-artifact/0.0.2-SNAPSHOT/my-artifact-0.0.2-20111207.095055-6.jar. Return code is: 401
  6. 0

    Unable to push to scp repository - Grokbase

    grokbase.com | 1 year ago
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.4:sign-and-deploy-file (default-cli) on project test: Failed to deploy artifacts/metadata: No connector available to access repository www-test-mirror (scp://www/home/m0/repos) of type default using the available factories WagonRepositoryConnectorFactory

    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.sonatype.aether.deployment.DeploymentException

      Failed to deploy artifacts: Could not transfer artifact com.nature:npg-services:war:1.1.0-20110421.105459-1 from/to Snapshots (http://.../content/repositories/snapshots): Failed to transfer file: http://.../content/repositories/snapshots/com/nature/npg-services/1.1.0-SNAPSHOT/npg-services-1.1.0-20110421.105459-1.war. Return code is: 502

      at org.sonatype.aether.impl.internal.DefaultDeployer.deploy()
    2. Aether :: Implementation
      DefaultRepositorySystem.deploy
      1. org.sonatype.aether.impl.internal.DefaultDeployer.deploy(DefaultDeployer.java:259)
      2. org.sonatype.aether.impl.internal.DefaultRepositorySystem.deploy(DefaultRepositorySystem.java:380)
      2 frames