Hi all, How can I investigate mvn *Unknown error trying to execute the external compiler*? According to compiler-plugin source in this case javac returns nonzero but mvn can't extract error information (alas mvn appears to eat the javac error code in this situation)- JavacCompiler.Java<http://svn.codehaus.org/plexus/plexus-components/trunk/plexus-compiler/plexus-compilers/plexus-compiler-javac/src/main/java/org/codehaus/plexus/compiler/javac/JavacCompiler.java>. I know that Mvn has issues parsing java 7 output and I tried running java manually but I can't reproduce the error.
I'm using mvn303, compiler plugin 2.5.1 and java 1.7 07. - mvn clean compile -X - *fails with error* - copy paste mvn's failed /bin/sh for javac invocation - *sh+javac completes without an error code* Let me know if you have any ideas on how to handle this situation. Thanks Peter `[ERROR] /bin/sh -c cd /myproj/modules/memory && /usr/java/jdk1.7.0_07/jre/../bin/javac @/myproj/modules/memory/target/classes/org.codehaus.plexus.compiler.javac.JavacCompiler4013958444740287519arguments -J-Xmx512m -J-Xms512m [ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project memory: Fatal error compiling at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) ... ... org.codehaus.plexus.compiler.javac.JavacCompiler.compileOutOfProcess(JavacCompiler.java:488) at org.codehaus.plexus.compiler.javac.JavacCompiler.compile(JavacCompiler.java:157)` -- Peter Kahn [email protected] http://www.google.com/profiles/citizenkahn Awareness - Intention - Action
