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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web4845

  • via Sonatype JIRA by Miguel de Melo, 1 year ago
    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
  • via Sonatype JIRA by Miguel de Melo, 1 year ago
    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
  • Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project xbnjava: Failed to deploy artifacts: Could not transfer artifact com.github.xbn:xbnjava:pom:0.1.2-20140716.142845-1 from/to ossrh (https
  • Stack trace

    • 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
    • ature
    • pg-services/1.1.0-SNAPSHOT
    • pg-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
    • ature
    • pg-services/1.1.0-SNAPSHOT
    • pg-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
    • ature
    • pg-services/1.1.0-SNAPSHOT
    • pg-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
    • ature
    • pg-services/1.1.0-SNAPSHOT
    • pg-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)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.