It's possible, it's just not well documented and probably not well supported.
Note - you'll have to manually setup the bootclasspath arguments. <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.4</source> <target>1.4</target> <verbose>true</verbose> <fork>false</fork> <compilerId>eclipse</compilerId> </configuration> <dependencies> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-compiler-eclipse</artifactId> <version>1.5.1</version> </dependency> </dependencies> </plugin> On 10/25/06, Matthias Wessendorf <[EMAIL PROTECTED]> wrote:
thx, looks like maven2 has not an option like that http://maven.apache.org/plugins/maven-compiler-plugin/howto.html -M On 10/25/06, Gregory Shimansky <[EMAIL PROTECTED]> wrote: > On Thursday 26 October 2006 02:07 Matthias Wessendorf wrote: > > :) > > > > I wanna run the Trinidad build against javac from harmony! > > > > :) > > I think you can do it already and it should probably work. If Trinidad build > uses ant, just using JAVA_HOME to point to Harmony would make it the JRE > which ant uses. > > To use eclipse compiler (which is going to be used for Harmony javac) you can > use ecj3.2.jar from [1] (this jar file has to be placed in $ANT_HOME/lib/ > directory). To make ant use it you can specify it in > compiler="org.eclipse.jdt.core.JDTCompilerAdapter" tag of javac ant target. > > Correct my if I missed something. > > [1] > http://download.eclipse.org/eclipse/downloads/drops/R-3.2-200606291905/ecj.jar > > -- > Gregory Shimansky, Intel Middleware Products Division > -- Matthias Wessendorf http://tinyurl.com/fmywh further stuff: blog: http://jroller.com/page/mwessendorf mail: mwessendorf-at-gmail-dot-com