-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to execute goal com.theoryinpractise:clojure-maven-plugin #80
Comments
On 14 Apr 2014, at 18:07, 勇幸 wrote:
Hi, Sorry for the late reply... Can you post a sample of your pom.xml at all? Do you have a version of Mark |
i clone the pom.xml from the official site and didn't change it. 2014-04-23 18:24 GMT+08:00 Mark Derricutt [email protected]:
|
I am also getting this error while compiling incubator-storm project. The latest storm build uses version 1.3.18 version and it is failing. I tried with version 1.3.20 and it still fails. Is anyone able to fix this? I a compiling it on macOSX 10.9. |
Not off hand - if you run with -X what do you see? You should get A LOT
|
Where can I find the incubator-storm project to clone and try for On 26 May 2014, at 19:44, gkhare wrote:
|
On 26 May 2014, at 19:44, gkhare wrote:
I just cloned and get: 16532 [Thread-419] ERROR backtype.storm.daemon.worker - Error when [INFO][INFO] Reactor Summary: [INFO][INFO] BUILD FAILURE This seems to indicate some problems with the tests involving |
I was trying to build it in Win7 64bit under Java 1.7, Maven 3.0.4 and zookerper 3.4.5 and get similar errors: [ERROR] Failed to execute goal com.theoryinpractise:clojure-maven-plugin:1.3.18: [ERROR] mvn -rf :storm-core |
I have tried compiling incubator-storm using clojure-maven-plugins versions ranging from 1.3 to 1.3.20 using the debug mode in mvn command. Till 1.3.3, it was throwing error for 'test-with-junit' target not found. From 1.3.4 - 1.3.5, It fails after compiling following namespaces with the above mentioned error,
version 1.3.6 onwards, it fails after compiling following namespaces with the above mentioned error,
@talios Strangely, you did get past the compile phase, do you have anything setup specifically? Like @jutinko has also faced this issue. It could be something basic that we are missing. Can you think of something. |
@gkhare I think I managed to build the project eventually. I think there wasn't anything special, I just followed the instructions on https://github.com/apache/incubator-storm/tree/master/examples/storm-starter |
Building with Running with the tests enabled, however fails - but this shows that a Mark On 30 May 2014, at 0:01, Juto wrote:
|
Thanks @talios @jutinko |
Hi All, |
I just found how to solve this problem and I'm not sure whether it helped -- it's about NodeJS. We all have the same error message after the output of Maven under the table saying 'SUCCESS' or 'FAILURE' or anything else. The trace message doesn't help much honestly, so I went back to check the messages from storm and found some error like "cannot run program node : ... cannot find directory or file". It means that you need to install NodeJS (not only Ruby and Python), especially the running command is "node" not "nodejs" so I also changed my .bashrc to fit this situation. Then the problem solved (after 10 hours...). |
It also seems nobody is talking about NodeJS for multilang package and only concentrates on Ruby or Python, and at first time I saw Javascript and I only thought about the javascript from browser and was curious how to use that script to run .. by transplanting the kernel of Chrome or something else? Haha anyway If anyone finds this tricky question and cannot solve it, I strongly recommend to see log messages BEFORE the results, although it maybe different, but may help you solve this wired problem. Added: |
I encounter this problem when I build the storm v0.9.5, and I have resolve it. See the link https://issues.apache.org/jira/browse/STORM-1762 |
when compile my project and always get this error, any idea ?
[ERROR] Failed to execute goal com.theoryinpractise:clojure-maven-plugin:1.3.20:compile (compile-clojure) on project storm-core: Clojure failed. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.theoryinpractise:clojure-maven-plugin:1.3.20:compile (compile-clojure) on project storm-core: Clojure failed.
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:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoExecutionException: Clojure failed.
at com.theoryinpractise.clojure.AbstractClojureCompilerMojo.callClojureWith(AbstractClojureCompilerMojo.java:463)
at com.theoryinpractise.clojure.AbstractClojureCompilerMojo.callClojureWith(AbstractClojureCompilerMojo.java:379)
at com.theoryinpractise.clojure.AbstractClojureCompilerMojo.callClojureWith(AbstractClojureCompilerMojo.java:356)
at com.theoryinpractise.clojure.ClojureCompilerMojo.execute(ClojureCompilerMojo.java:40)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 19 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]
The text was updated successfully, but these errors were encountered: