I think there was a bug in clojure that prevented the output from printing.

Try with clojure 1.6.0 and see if the actual compile error shows up.

--
Derek

On 5/23/14, 16:57, Justin Workman wrote:
Absolutely

OS: Ubuntu 12.04
mvn -version:
Apache Maven 3.0.4
Maven home: /usr/share/maven
Java version: 1.6.0_31, vendor: Sun Microsystems Inc.
Java home: /usr/lib/jvm/java-6-openjdk-amd64/jre
Default locale: en_US, platform encoding: ANSI_X3.4-1968
OS name: "linux", version: "3.2.0-60-generic", arch: "amd64", family:
"unix"mvn

I do have Oracle JDK 1.7.0_60 installed and have also tried to build the
project with this JDK with the same result. I will try and setup a Centos
box to test there.

Thanks
Justin



On Fri, May 23, 2014 at 3:39 PM, Harsha <[email protected]> wrote:

Hi Justin,
          Can you give us bit more details on java version and on which
          os. I just did a quick build on centos using java 1.7.0_55 .
  maven-clojure-plugin is not that helpful in checking where is the error
  in clojure code.
-Harsha

On Fri, May 23, 2014, at 01:47 PM, Justin Workman wrote:
I have seen this question a couple of times, but for the life of me, I
cannot get around it and have not seen an answer that resolves it. Here
is
the process I am walking through.

# git clone https://github.com/apache/incubator-storm
# cd incubator-storm
# git checkout master
Already on 'master'

** Before building I had to add the kryo dependency to the parent pom and
the storm-core pom.xml files

# mvn -e clean install

This is where it fails with the following stack trace. There were no
errors
in the output prior to this error, and passing the -X flag for debug does
not produce any other details. Any help getting past this will be greatly
appreciated.

Thanks
Justin

[ERROR] Failed to execute goal
com.theoryinpractise:clojure-maven-plugin:1.3.18: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.18: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:57)
at

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:622)
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:451)
at

com.theoryinpractise.clojure.AbstractClojureCompilerMojo.callClojureWith(AbstractClojureCompilerMojo.java:367)
at

com.theoryinpractise.clojure.AbstractClojureCompilerMojo.callClojureWith(AbstractClojureCompilerMojo.java:344)
at

com.theoryinpractise.clojure.ClojureCompilerMojo.execute(ClojureCompilerMojo.java:47)
at

org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at

org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 19 more


Reply via email to