java - Maven MOJO Execution Failed while Building -
i'm trying run openolat lms project (an open source learning platform written in java) source
but got following maven error in netbeans output , can't build project.
failed execute goal org.openolat.mojo:buildnumber-maven-plugin:1.2.0:hgchangeset (default) on project openolat-lms: command failed. execution failed execution of cmd : id failed exit code: 127. working directory was: /home/aboud/netbeansprojects/openolat hg installation seems valid , complete. hg version: na (ok) -> [help 1] see full stack trace of errors, re-run maven -e switch. re-run maven using -x switch enable full debug logging. more information errors , possible solutions, please read following articles: [help 1] http://cwiki.apache.org/confluence/display/maven/mojoexecutionexception
and here's full stack trace of errors when run mvn -e clean install
at org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor.java:217) @ 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:84) @ org.apache.maven.lifecycle.internal.lifecyclemodulebuilder.buildproject(lifecyclemodulebuilder.java:59) @ org.apache.maven.lifecycle.internal.lifecyclestarter.singlethreadedbuild(lifecyclestarter.java:183) @ org.apache.maven.lifecycle.internal.lifecyclestarter.execute(lifecyclestarter.java:161) @ org.apache.maven.defaultmaven.doexecute(defaultmaven.java:320) @ org.apache.maven.defaultmaven.execute(defaultmaven.java:156) @ org.apache.maven.cli.mavencli.execute(mavencli.java:537) @ org.apache.maven.cli.mavencli.domain(mavencli.java:196) @ org.apache.maven.cli.mavencli.main(mavencli.java:141) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:57) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:606) @ 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 failed. execution failed
any appreciated, in advance.
i have no problem maven version 3.1.1.
note there no need run mvn -e clean install
, never this. run testcases including selenium tests need test configuration in src/test/java/olat.local.properties
, test database environment. please read testing.readme.latest
@ top level of project learn more running unit tests.
so, started run mvn clean package
build war file or mvn eclipse:eclipse
if want run openolat in eclipse development.
cheers florian
Comments
Post a Comment