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.

GitHub | abdoo | 1 month ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to poroszd . Or join the community to write better ones.
  1. 0

    deploying to staging is failing

    GitHub | 1 month ago | abdoo
    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.
  2. 0
    samebug tip
    Change the <configuration> in pom.xml to use xml parameters instead of the <arguments> list.
  3. 0

    Maven deploy to Nexus repository error

    techhelpbox.com | 1 year ago
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project my-test: Failed to deploy artifacts: Could not transfer artifact org.bhavesh:my-test:jar:1.0-20140328.195302-1 from/to deployment1 (http://localhost:8081/nexus/content/repositories/snapshots/): Failed to transfer file: http://localhost:8081/nexus/content/repositories/snapshots/org/bhavesh/my-test/1.0-SNAPSHOT/my-test-1.0-20140328.195302-1.jar. Return code is: 401, ReasonPhrase: Unauthorized.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Maven deploy to Nexus repository error

    Coderanch | 3 years ago | Bob pat
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project my-test: Failed to deploy artifacts: Could not transfer artifact org.bhavesh:my-test:jar:1.0-20140328.195302-1 from/to deployment1 (http://localhost:8081/nexus/content/repositories/snapshots/): Failed to transfer file: http://localhost:8081/nexus/content/repositories/snapshots/org/bhavesh/my-test/1.0-SNAPSHOT/my-test-1.0-20140328.195302-1.jar. Return code is: 401, ReasonPhrase: Unauthorized.
  6. 0

    Maven Failed to deploy artifacts ReasonPhrase:Forbidden

    Stack Overflow | 3 years ago | user1783398
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal o rg.sonatype.plugins:nexus-staging-maven-plugin:1.6.2:deploy (injected-nexus-depl oy) on project jate: Failed to deploy artifacts: Could not transfer artifact uk. ac.shef.dcs.oak:jate:jar:2.0Alpha-20140810.080638-1 from/to ossrh (https://oss.s onatype.org/content/repositories/snapshots): Access denied to: https://oss.sonat ype.org/content/repositories/snapshots/uk/ac/shef/dcs/oak/jate/2.0Alpha-SNAPSHOT /jate-2.0Alpha-20140810.080638-1.jar, ReasonPhrase: Forbidden.

  1. davidvanlaatum 2 times, last 5 months ago
31 unregistered visitors
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.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()
  2. Maven Core
    DefaultMaven.execute
    1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
    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
  3. M3 Interceptor
    MavenCli.main
    1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
    2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
    3. org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
    3 frames
  4. 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:498)
    4 frames
  5. 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