java - maven exec plugin exception -
i getting following exception. how know command failing , why?
[error] failed execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (xyz) on project abc: command execution failed. process exited error: 127 (exit value: 127) -> [help 1] org.apache.maven.lifecycle.lifecycleexecutionexception: failed execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (xyz) on project abc: command execution failed. @ org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor.java:216) @ org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor.java:153) @ org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor.java:145) @ org.apache.maven.lifecycle.internal.lifecyclemodulebuilder.buildproject(lifecyclemodulebuilder.java:108) @ org.apache.maven.lifecycle.internal.lifecyclemodulebuilder.buildproject(lifecyclemodulebuilder.java:76) @ org.apache.maven.lifecycle.internal.builder.singlethreaded.singlethreadedbuilder.build(singlethreadedbuilder.java:51) @ org.apache.maven.lifecycle.internal.lifecyclestarter.execute(lifecyclestarter.java:116) @ org.apache.maven.defaultmaven.doexecute(defaultmaven.java:361) @ org.apache.maven.defaultmaven.execute(defaultmaven.java:155) @ org.apache.maven.cli.mavencli.execute(mavencli.java:584) @ org.apache.maven.cli.mavencli.domain(mavencli.java:213) @ org.apache.maven.cli.mavencli.main(mavencli.java:157) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:62) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:497) @ org.codehaus.plexus.classworlds.launcher.launcher.launchenhanced(launcher.java:289) @ org.codehaus.plexus.classworlds.launcher.launcher.launch(launcher.java:229) @ org.codehaus.plexus.classworlds.launcher.launcher.mainwithexitcode(launcher.java:415) @ org.codehaus.plexus.classworlds.launcher.launcher.main(launcher.java:356) caused by: org.apache.maven.plugin.mojoexecutionexception: command execution failed. @ org.codehaus.mojo.exec.execmojo.execute(execmojo.java:362) @ org.apache.maven.plugin.defaultbuildpluginmanager.executemojo(defaultbuildpluginmanager.java:133) @ org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor.java:208) ... 19 more caused by: org.apache.commons.exec.executeexception: process exited error: 127 (exit value: 127) @ org.apache.commons.exec.defaultexecutor.executeinternal(defaultexecutor.java:377) @ org.apache.commons.exec.defaultexecutor.execute(defaultexecutor.java:160) @ org.codehaus.mojo.exec.execmojo.executecommandline(execmojo.java:610) @ org.codehaus.mojo.exec.execmojo.execute(execmojo.java:352) ... 21 more
Comments
Post a Comment