org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.3.1:install-file (install jar) on project usergrid-rest: Error installing artifact 'org.apache.usergrid:usergrid-rest:jar': Failed to install artifact org.apache.usergrid:usergrid-rest:jar:0.0.29-SNAPSHOT: /Users/venkatm/work/Apache/usergrid/stack/rest/target/usergrid-rest-0.0.29-SNAPSHOT.jar (No such file or directory)

usergrid-user | Venkat | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Re: build errors

    usergrid-user | 3 years ago | Venkat
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.3.1:install-file (install jar) on project usergrid-rest: Error installing artifact 'org.apache.usergrid:usergrid-rest:jar': Failed to install artifact org.apache.usergrid:usergrid-rest:jar:0.0.29-SNAPSHOT: /Users/venkatm/work/Apache/usergrid/stack/rest/target/usergrid-rest-0.0.29-SNAPSHOT.jar (No such file or directory)
  2. 0

    Re: build errors

    usergrid-user | 3 years ago | Venkat
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.3.1:install-file (install jar) on project usergrid-rest: Error installing artifact 'org.apache.usergrid:usergrid-rest:jar': Failed to install artifact org.apache.usergrid:usergrid-rest:jar:0.0.29-SNAPSHOT: /Users/venkatm/work/Apache/usergrid/stack/rest/target/usergrid-rest-0.0.29-SNAPSHOT.jar (No such file or directory)

    Root Cause Analysis

    1. org.apache.maven.plugin.MojoExecutionException

      Error installing artifact 'org.apache.usergrid:usergrid-rest:jar': Failed to install artifact org.apache.usergrid:usergrid-rest:jar:0.0.29-SNAPSHOT: /Users/venkatm/work/Apache/usergrid/stack/rest/target/usergrid-rest-0.0.29-SNAPSHOT.jar (No such file or directory)

      at org.apache.maven.plugin.install.InstallFileMojo.execute()
    2. org.apache.maven
      InstallFileMojo.execute
      1. org.apache.maven.plugin.install.InstallFileMojo.execute(InstallFileMojo.java:257)
      1 frame
    3. Maven Plugin
      DefaultBuildPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
      1 frame
    4. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
      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:84)
      5. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
      6. org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
      7. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
      8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
      9. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
      9 frames
    5. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
      2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
      3. org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
      3 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    7. 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