Ah, classic maven error reporting. I don't know what the root cause of the problem you are seeing is. Is it reproducible? What environment do you run it in?
A clean build with the latest commit from master (ad063ed61055) on a fully updated Ubuntu 12.04LTS system compiles without problems. /n On Sat, Jan 12, 2013 at 1:44 AM, Anthony Xu <xuefei...@citrix.com> wrote: > Does anyone happen to know the reason for this build failure? > > Mvn -e install > > [INFO] Copying 1 resource > [INFO] Copying 3 resources > [INFO] [compiler:compile {execution: default-compile}] > [INFO] Compiling 149 source files to > /home/anthony/vmops/incubator-cloudstack/utils/target/classes > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Fatal error compiling > > Embedded error: Unknown error trying to execute the external compiler: > /bin/sh -c cd /home/anthony/vmops/incubator-cloudstack/utils && > /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/../bin/javac > @/tmp/org.codehaus.plexus.compiler.javac.JavacCompiler2834249135099674749arguments > -J-Xmx512m -J-Xms128m > [INFO] > ------------------------------------------------------------------------ > [INFO] Trace > org.apache.maven.lifecycle.LifecycleExecutionException: Fatal error > compiling > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) > at > org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) > 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:616) > at > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > at > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) > at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > Caused by: org.apache.maven.plugin.MojoExecutionException: Fatal error > compiling > at > org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:683) > at > org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128) > at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) > ... 17 more > Caused by: org.codehaus.plexus.compiler.CompilerException: Unknown error > trying to execute the external compiler: > /bin/sh -c cd /home/anthony/vmops/incubator-cloudstack/utils && > /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/../bin/javac > @/tmp/org.codehaus.plexus.compiler.javac.JavacCompiler2834249135099674749arguments > -J-Xmx512m -J-Xms128m > at > org.codehaus.plexus.compiler.javac.JavacCompiler.compileOutOfProcess(JavacCompiler.java:496) > at > org.codehaus.plexus.compiler.javac.JavacCompiler.compile(JavacCompiler.java:163) > at > org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:678) > ... 20 more > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 9 seconds > [INFO] Finished at: Fri Jan 11 16:41:03 PST 2013 > [INFO] Final Memory: 42M/350M > [INFO] > ------------------------------------------------------------------------ > -- Engineering Experience, Infrastructure tribe, Spotify