org.apache.maven.lifecycle.LifecycleExecutionException: Command failed.

maven-scm-users | Esteban Chavez | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    SCM perforce, how to make it work ? Where is good plug-in/goal documentation ?

    maven-scm-users | 1 decade ago | Esteban Chavez
    org.apache.maven.lifecycle.LifecycleExecutionException: Command failed.
  2. 0

    Maven SCM plugin fails to do a scm:update after a scm:checkout with obscure error message

    Stack Overflow | 4 years ago | seba.wagner
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-scm-plugin:1.8.1:update (default-cli) on project mysampleproject: Command failed.The git-log command failed.

    Root Cause Analysis

    1. org.apache.maven.plugin.MojoExecutionException

      Command failed.

      at org.apache.maven.scm.plugin.AbstractScmMojo.checkResult()
    2. org.apache.maven
      UpdateMojo.execute
      1. org.apache.maven.scm.plugin.AbstractScmMojo.checkResult(AbstractScmMojo.java:252)
      2. org.apache.maven.scm.plugin.UpdateMojo.execute(UpdateMojo.java:70)
      2 frames
    3. Maven Plugin
      DefaultPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:432)
      1 frame
    4. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:530)
      2. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:485)
      3. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:455)
      4. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:303)
      5. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:216)
      6. org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:139)
      7. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
      8. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
      8 frames
    5. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
      1 frame
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    7. Plexus
      Launcher.main
      1. org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
      2. org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      3. org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
      4. org.codehaus.classworlds.Launcher.main(Launcher.java:375)
      4 frames