org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project transformer: Failed to deploy artifacts: Could not transfer artifact com.example:transformer:yml:openshift:1.0.9 from/to local-nexus (http://nexus/content/repositories/staging/): Failed to transfer file: http://nexus/content/repositories/staging/com/example/1.0.9/transformer-1.0.9-openshift.yml. Return code is: 400, ReasonPhrase: Bad Request.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by abdoo
, 11 months ago
Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project transformer: Failed to deploy artifacts: Could not transfer artifact com.example:transformer:yml:openshift:1.0.9 from/to local-nexus (http
via Sonatype JIRA by Peter Lynch, 1 year ago
Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy-file (default-cli) on project standalone-pom: Failed to deploy artifacts: Could not transfer artifact com.somecompany:project:war:1.0.0 from/to local-nexu (http
via GitHub by rawlingsj
, 7 months ago
Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project spring-boot-webmvc: Failed to deploy artifacts: Could not transfer artifact io.fabric8.quickstarts:spring-boot-webmvc:jar:1.0.1 from/to local-nexus (http://content-repository/content/repositories/staging/): Connection reset
via GitHub by djKooks
, 5 months ago
Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project spydra-parent: Failed to deploy artifacts: Could not transfer artifact com.spotify.data.spydra:spydra-parent:pom:0.3.5 from/to ossrh (https
via Sonatype JIRA by Steinar Henriksen, 2 months ago
Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project sikker-digital-post-klient-java: Failed to deploy artifacts: Could not transfer artifact no.difi.sdp:sikker-digital-post-klient-java:jar:5.2.1
via Sonatype JIRA by Adam Gabryś, 1 year ago
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
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project transformer: Failed to deploy artifacts: Could not transfer artifact com.example:transformer:yml:openshift:1.0.9 from/to local-nexus (http://nexus/content/repositories/staging/): Failed to transfer file: http://nexus/content/repositories/staging/com/example/1.0.9/transformer-1.0.9-openshift.yml. Return code is: 400, ReasonPhrase: Bad Request.
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
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:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
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:498)
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)

Users with the same issue

2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 9 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.