allegro / grunt-maven-plugin

Grunt + Maven integration done right
Other
213 stars 32 forks source link

unable to exeute mojo #59

Closed Ashok-kj closed 9 years ago

Ashok-kj commented 9 years ago

Hi,

I was trying to install a project called Defense4All, but compiling the code ended in the following error. Please do help me to resolve the error.

You can however run a command with sudo using --allow-root option [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] dfapp ............................................. SUCCESS [3.172s] [INFO] framework.core .................................... SUCCESS [24.282s] [INFO] defense4all.core .................................. SUCCESS [13.450s] [INFO] defense4all.odl ................................... SUCCESS [36.267s] [INFO] defenseflow.dp .................................... SUCCESS [2:56.777s] [INFO] defense4all.mitigationdriver.local ................ SUCCESS [9.309s] [INFO] defense4all.core.impl ............................. SUCCESS [12.468s] [INFO] framework.core.impl ............................... SUCCESS [17.642s] [INFO] framework.restservice ............................. SUCCESS [1:19.562s] [INFO] framework.cli ..................................... SUCCESS [53.226s] [INFO] defense4all.restservice ........................... SUCCESS [17.205s] [INFO] defense4all.cli ................................... SUCCESS [1:05.986s] [INFO] restservice ....................................... SUCCESS [15.562s] [INFO] webgui ............................................ FAILURE [1:28.696s] [INFO] framework.aggregate ............................... SKIPPED [INFO] defense4all.aggregate ............................. SKIPPED [INFO] df ................................................ SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 10:15.760s [INFO] Finished at: Tue Dec 09 15:09:08 IST 2014 [INFO] Final Memory: 155M/394M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal pl.allegro:grunt-maven-plugin:1.4.1:bower (default) on project webgui: Unable to execute mojo: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal pl.allegro:grunt-maven-plugin:1.4.1:bower (default) on project webgui: Unable to execute mojo at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217) 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:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) 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: Unable to execute mojo at org.twdata.maven.mojoexecutor.MojoExecutor.executeMojoImpl(MojoExecutor.java:174) at org.twdata.maven.mojoexecutor.MojoExecutor$ExecutionEnvironmentM3.executeMojo(MojoExecutor.java:476) at org.twdata.maven.mojoexecutor.MojoExecutor.executeMojo(MojoExecutor.java:75) at pl.allegro.tdr.gruntmaven.AbstractExecutableMojo.runExecutable(AbstractExecutableMojo.java:97) at pl.allegro.tdr.gruntmaven.AbstractExecutableMojo.executeInternal(AbstractExecutableMojo.java:86) at pl.allegro.tdr.gruntmaven.BaseMavenGruntMojo.execute(BaseMavenGruntMojo.java:93) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) ... 19 more Caused by: org.apache.maven.plugin.MojoExecutionException: Command execution failed. at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:362) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) at org.twdata.maven.mojoexecutor.MojoExecutor.executeMojoImpl(MojoExecutor.java:172) ... 26 more Caused by: org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:377) at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:160) at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:610) at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:352) ... 28 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 [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :webgui

adamdubiel commented 9 years ago

Hi, I seen the comment in other thread, but i don't know much about this framework. Did bower work before adding it? What is your configuration?

adamdubiel commented 9 years ago

Did you solve the issue? If not, can you post details specified above so i can help with solving it?

Ashok-kj commented 9 years ago

Hi Adam Dubiel, Sorry for not replying so long. I couldn't solve the issue. This was more specific to Defense4All installation & I am pretty much new to Java. I couldn't get into details of solving. I wrote mails to Defense4All team itself they said they will get back to me on that. Right now I am occupied with other work. By the way all I did was I wanted to install Defense4All and I hit this error.

RegardsAshok

 On Friday, 26 December 2014 8:41 PM, Adam Dubiel <notifications@github.com> wrote:

Did you solve the issue? If not, can you post details specified above so i can help with solving it?— Reply to this email directly or view it on GitHub.

adamdubiel commented 9 years ago

I don't know this library at all, but if you say problem is on their side, i will close this issue. Feel free to reopen it later it you have more problems or find out something new.

jninja commented 9 years ago

I also had this issue. Did you find a solution? I'm using:

adamdubiel commented 9 years ago

Is it issue with Defense4All?