org.apache.maven.lifecycle.LifecycleExecutionException

Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.5:deploy (default-deploy) on project markdownpapers-parent: Failed to deploy artifacts: Could not transfer artifact org.tautua.markdownpapers:markdownpapers-parent:pom:1.1.0 from/to Sonatype.staging (https://oss.sonatype.org/service/local/staging/deploy/maven2): Failed to transfer file: https://oss.sonatype.org/service/local/staging/deploy/maven2/org/tautua/markdownpapers/markdownpapers-parent/1.1.0/markdownpapers-parent-1.1.0.pom. Return code is: 504

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web22

  • via Unknown by Larry Ruiz,
  • via Unknown by Larry Ruiz,
  • 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 markdownpapers-parent: Failed to deploy artifacts: Could not transfer artifact org.tautua.markdownpapers:markdownpapers-parent:pom:1.1.0 from/to Sonatype.staging (https://oss.sonatype.org/service/local/staging/deploy/maven2): Failed to transfer file: https://oss.sonatype.org/service/local/staging/deploy/maven2/org/tautua/markdownpapers/markdownpapers-parent/1.1.0/markdownpapers-parent-1.1.0.pom. Return code is: 504 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:537) 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 org.tautua.markdownpapers:markdownpapers-parent:pom:1.1.0 from/to Sonatype.staging (https://oss.sonatype.org/service/local/staging/deploy/maven2): Failed to transfer file: https://oss.sonatype.org/service/local/staging/deploy/maven2/org/tautua/markdownpapers/markdownpapers-parent/1.1.0/markdownpapers-parent-1.1.0.pom. Return code is: 504 at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:189) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) 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 org.tautua.markdownpapers:markdownpapers-parent:pom:1.1.0 from/to Sonatype.staging (https://oss.sonatype.org/service/local/staging/deploy/maven2): Failed to transfer file: https://oss.sonatype.org/service/local/staging/deploy/maven2/org/tautua/markdownpapers/markdownpapers-parent/1.1.0/markdownpapers-parent-1.1.0.pom. Return code is: 504 at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:141) at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:148) ... 21 more Caused by: org.sonatype.aether.deployment.DeploymentException: Failed to deploy artifacts: Could not transfer artifact org.tautua.markdownpapers:markdownpapers-parent:pom:1.1.0 from/to Sonatype.staging (https://oss.sonatype.org/service/local/staging/deploy/maven2): Failed to transfer file: https://oss.sonatype.org/service/local/staging/deploy/maven2/org/tautua/markdownpapers/markdownpapers-parent/1.1.0/markdownpapers-parent-1.1.0.pom. Return code is: 504 at org.sonatype.aether.impl.internal.DefaultDeployer.deploy(DefaultDeployer.java:284) at org.sonatype.aether.impl.internal.DefaultDeployer.deploy(DefaultDeployer.java:215) at org.sonatype.aether.impl.internal.DefaultRepositorySystem.deploy(DefaultRepositorySystem.java:480) at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:137) ... 22 more Caused by: org.sonatype.aether.transfer.ArtifactTransferException: Could not transfer artifact org.tautua.markdownpapers:markdownpapers-parent:pom:1.1.0 from/to Sonatype.staging (https://oss.sonatype.org/service/local/staging/deploy/maven2): Failed to transfer file: https://oss.sonatype.org/service/local/staging/deploy/maven2/org/tautua/markdownpapers/markdownpapers-parent/1.1.0/markdownpapers-parent-1.1.0.pom. Return code is: 504 at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:949) at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:940) at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$PutTask.flush(WagonRepositoryConnector.java:864) at org.sonatype.aether.connector.wagon.WagonRepositoryConnector.put(WagonRepositoryConnector.java:466) at org.sonatype.aether.impl.internal.DefaultDeployer.deploy(DefaultDeployer.java:278) ... 25 more Caused by: org.apache.maven.wagon.TransferFailedException: Failed to transfer file: https://oss.sonatype.org/service/local/staging/deploy/maven2/org/tautua/markdownpapers/markdownpapers-parent/1.1.0/markdownpapers-parent-1.1.0.pom. Return code is: 504 at org.apache.maven.wagon.providers.http.LightweightHttpWagon.finishPutTransfer(LightweightHttpWagon.java:205) 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.sonatype.aether.connector.wagon.WagonRepositoryConnector$PutTask.run(WagonRepositoryConnector.java:825) at org.sonatype.aether.connector.wagon.WagonRepositoryConnector.put(WagonRepositoryConnector.java:465) ... 26 more

    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

    Unknown visitor
    Unknown visitorOnce,