Rolf, In looking through the M2 CompilerMojo, I found that it just wraps Jason van Zyl's Plexus Compiler package. (http://plexus.codehaus.org) That appears to support 'eclipse' as a compiler variation, so I'm thinking you can just set the compilerId parameter to 'eclipse' instead of the default 'javac' instead of using the 'executable' parameter I suggested before. I'm cc-ing the mailing list on this, to see if we can get verification from the plugin authors. Jay
_____ From: Rolf Strijdhorst [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 08, 2006 11:17 PM To: Jay H. Hartley Subject: Re: eclipse compiler Thanx Jay By the way I am using M2 But does this mean I can just insert: org.eclipse.jdt.core.JDT CompilerAdapter or do I need to include the complete path to the compiler or ( a lot of ors) is it enough to include the jar that contains the compiler in the classpath? Rolf On 2/8/06, Jay H. Hartley <[EMAIL PROTECTED]> wrote: Rolf, If you are using Maven 2, set the "executable" parameter for the compile:compile goal: http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html <http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html> For a description of how to set compiler parameters, see http://maven.apache.org/plugins/maven-compiler-plugin/howto.html For Maven 1, set the " maven.compile.executable" property in one of the various properties files: http://maven.apache.org/maven-1.x/reference/plugins/java/properties.html <http://maven.apache.org/maven-1.x/reference/plugins/java/properties.html> Hope this helps, Jay > -----Original Message----- > From: Rolf Strijdhorst [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 08, 2006 11:25 AM > To: Maven Users List > Subject: eclipse compiler > > hi I am wondering is het possible to assign a different > compiler. I want to use the eclipse compiler for my builds. > thanx > Rolf >
