Hey Vekant, It seems like you may be hitting the JSP compilation issues which is causing it to fail to produce the jar. See the first comment on this issue for the solution. Try to fix it with the symlink, then run your compilation again.
https://issues.apache.org/jira/browse/HADOOP-9350 On Fri, Feb 28, 2014 at 8:51 AM, Venkat <[email protected]> wrote: > Hi Nate > > I am on Maven 3.1.1 and Java 1.7. (I did try to so this on java 1.6 as > well, same error) > > if i run with debug from rest module, this is what i see... > > [DEBUG] Skipping installation of generated POM, already present in local > repository > > [INFO] Installing > /Users/venkatm/work/Apache/usergrid/stack/rest/target/usergrid-rest-0.0.29-SNAPSHOT.jar > to > /Users/venkatm/.m2/repository/org/apache/usergrid/usergrid-rest/0.0.29-SNAPSHOT/usergrid-rest-0.0.29-SNAPSHOT.jar > > [INFO] > ------------------------------------------------------------------------ > > [INFO] BUILD FAILURE > > [INFO] > ------------------------------------------------------------------------ > > [INFO] Total time: 14.529s > > [INFO] Finished at: Fri Feb 28 10:43:30 EST 2014 > > [INFO] Final Memory: 51M/822M > > [INFO] > ------------------------------------------------------------------------ > > [ERROR] 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) -> [Help 1] > > 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) > > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216) > > 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:317) > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152) > > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555) > > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214) > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:158) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > > at java.lang.reflect.Method.invoke(Method.java:606) > > 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) > > at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) > > Caused by: 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(InstallFileMojo.java:257) > > at > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106) > > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) > > ... 19 more > > Caused by: > org.apache.maven.artifact.installer.ArtifactInstallationException: 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.artifact.installer.DefaultArtifactInstaller.install(DefaultArtifactInstaller.java:111) > > at > org.apache.maven.plugin.install.InstallFileMojo.execute(InstallFileMojo.java:252) > > ... 21 more > > Caused by: org.eclipse.aether.installation.InstallationException: 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.eclipse.aether.internal.impl.DefaultInstaller.install(DefaultInstaller.java:299) > > at > org.eclipse.aether.internal.impl.DefaultInstaller.install(DefaultInstaller.java:221) > > at > org.eclipse.aether.internal.impl.DefaultInstaller.install(DefaultInstaller.java:178) > > at > org.eclipse.aether.internal.impl.DefaultRepositorySystem.install(DefaultRepositorySystem.java:406) > > at > org.apache.maven.artifact.installer.DefaultArtifactInstaller.install(DefaultArtifactInstaller.java:107) > > ... 22 more > > Caused by: java.io.FileNotFoundException: > /Users/venkatm/work/Apache/usergrid/stack/rest/target/usergrid-rest-0.0.29-SNAPSHOT.jar > (No such file or directory) > > at java.io.FileInputStream.open(Native Method) > > at java.io.FileInputStream.<init>(FileInputStream.java:146) > > at > org.eclipse.aether.internal.impl.DefaultFileProcessor.copy(DefaultFileProcessor.java:151) > > at > org.eclipse.aether.internal.impl.DefaultFileProcessor.copy(DefaultFileProcessor.java:139) > > at > org.eclipse.aether.internal.impl.DefaultInstaller.install(DefaultInstaller.java:286) > > ... 26 more > > [ERROR] > > [ERROR] > > [ERROR] For more information about the errors and possible solutions, > please read the following articles: > > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException > > > > I don't see the usergrid-rest-0.0.29-SNAPSHOT.jar under target folder. > > Thanks > Venkat > > > > > On Fri, Feb 28, 2014 at 10:20 AM, Nate McCall <[email protected]>wrote: > >> What version of maven are you using? >> >> Also, can you cd into rest module and run maven at debug from there and >> pastebin/gist/etc the output? >> >> >> On Fri, Feb 28, 2014 at 8:59 AM, Venkat <[email protected]> wrote: >> >> > Hi >> > >> > Anyone seeing this issue? still not able to build. am i missing >> something? >> > >> > Thanks >> > Venkat >> > >> > >> > ---------- Forwarded message ---------- >> > From: Venkat <[email protected]> >> > Date: Mon, Feb 24, 2014 at 10:42 AM >> > Subject: build errors >> > To: [email protected] >> > >> > >> > Hi >> > >> > I am new to Usergrid and was trying to build the trunk locally and am >> > getting an error. I was trying to build from the stack module. I am on a >> > Mac and ran maven with "-DskipTests=true" >> > >> > Any help would be great. >> > >> > >> > [INFO] >> > ------------------------------------------------------------------------ >> > >> > [INFO] Reactor Summary: >> > >> > [INFO] >> > >> > [INFO] Usergrid Parent ................................... SUCCESS >> [1.008s] >> > >> > [INFO] Usergrid Build Tools .............................. SUCCESS >> [0.832s] >> > >> > [INFO] Usergrid Config ................................... SUCCESS >> [0.404s] >> > >> > [INFO] Usergrid Test Utils ............................... SUCCESS >> [1.382s] >> > >> > [INFO] Usergrid Core ..................................... SUCCESS >> [6.338s] >> > >> > [INFO] Usergrid Services ................................. SUCCESS >> [2.545s] >> > >> > [INFO] Usergrid MongoDB Emulator ......................... SUCCESS >> [0.708s] >> > >> > [INFO] Usergrid REST ..................................... FAILURE >> > [12.343s] >> > >> > [INFO] Usergrid Tools .................................... SKIPPED >> > >> > [INFO] Usergrid Websocket ................................ SKIPPED >> > >> > [INFO] Usergrid Launcher ................................. SKIPPED >> > >> > [INFO] Usergrid Query Validator .......................... SKIPPED >> > >> > [INFO] >> > ------------------------------------------------------------------------ >> > >> > [INFO] BUILD FAILURE >> > >> > [INFO] >> > ------------------------------------------------------------------------ >> > >> > [INFO] Total time: 25.982s >> > >> > [INFO] Finished at: Mon Feb 24 10:22:13 EST 2014 >> > >> > [INFO] Final Memory: 36M/121M >> > >> > [INFO] >> > ------------------------------------------------------------------------ >> > >> > [ERROR] 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/Apache/usergrid/stack/rest/target/usergrid-rest-0.0.29-SNAPSHOT.jar >> > (No such file or directory) -> [Help 1] >> > >> > >> > Also i am not able to see anything for usergrid under: >> > https://repository.apache.org/content/repositories/snapshots/ >> > >> > Thanks >> > >> >> >> >> -- >> ----------------- >> Nate McCall >> Austin, TX >> @zznate >> >> Co-Founder & Sr. Technical Consultant >> Apache Cassandra Consulting >> http://www.thelastpickle.com >>
