Re: configure compiler plugin to use JDK1.3 rt.jar

2006-06-30 Thread Nicolas De Loof
I've made a minimal POM to test this, I allways get compilerArguments = {bootclasspath=null} If anyone can find a way to make this work ... ?xml version=1.0 encoding=ISO-8859-1? project modelVersion4.0.0/modelVersion groupIdfoo/groupId artifactIdbar/artifactId version1.0.0/version

[solved] Re: configure compiler plugin to use JDK1.3 rt.jar

2006-06-30 Thread Nicolas De Loof
I got it : compilerArguments bootclasspath ${settings.localRepository}/com/sun/rt/1.3.1_08/rt-1.3.1_08.jar /bootclasspath /compilerArguments I've searched maven2 sources for localRepository String and found

Re: configure compiler plugin to use JDK1.3 rt.jar

2006-06-29 Thread Nicolas De Loof
That seems a good solution Could you please tell me how to get the absolute path to a dependency ? What is the maven2 equivbalent for maven 1 ${plugin.getDependencyPath('com.sun:rt')} ? Iv' tried : compilerArguments bootclasspath

Re: configure compiler plugin to use JDK1.3 rt.jar

2006-06-29 Thread Carlos Sanchez
I think that feature needs to be implemented, an option to add a dependency to the bootclasspath On 6/29/06, Nicolas De Loof [EMAIL PROTECTED] wrote: That seems a good solution Could you please tell me how to get the absolute path to a dependency ? What is the maven2 equivbalent for maven 1

Re: configure compiler plugin to use JDK1.3 rt.jar

2006-06-29 Thread Nicolas De Loof
That may be an interesting way to solve this issue. But for a workaround, do you know any way to set the compilerArguments using an ${xx} expression, based on the localRepository path ? Carlos Sanchez a écrit : I think that feature needs to be implemented, an option to add a dependency to

Re: configure compiler plugin to use JDK1.3 rt.jar

2006-06-29 Thread Nicolas De Loof
Isn't there anyone that knows what's behind the localRepository property ? I've tried ${localRepository}/x/y/z and gets {bootclasspath=[local] - file://D:/maven/M2repository/com/sun/rt/1.3.1_08/rt.jar} I've then searched into maven2 sources and tried ${localRepository.location},

Re: configure compiler plugin to use JDK1.3 rt.jar

2006-06-29 Thread Carlos Sanchez
try localRepository.class to see what class is it, and then look into the javadocs to see what properties are available On 6/29/06, Nicolas De Loof [EMAIL PROTECTED] wrote: Isn't there anyone that knows what's behind the localRepository property ? I've tried ${localRepository}/x/y/z and gets

Re: configure compiler plugin to use JDK1.3 rt.jar

2006-06-29 Thread Nicolas De Loof
${localRepository.class} gives me ... {bootclasspath=null/com/sun/rt/1.3.1_08/rt.jar} Isn't this strange ? Carlos Sanchez a écrit : try localRepository.class to see what class is it, and then look into the javadocs to see what properties are available On 6/29/06, Nicolas De Loof [EMAIL

configure compiler plugin to use JDK1.3 rt.jar

2006-06-28 Thread Nicolas De Loof
Hello, short version How to set the bootclasspath used by maven-compiler-plugin ? /short version My build must target JDK1.3 so I've configured compiler plugin to use JRE1.3 rt.jar as bootclasspath. Please notice I'd like to avoid to install a 1.3 JDK on every developper system and

Re: configure compiler plugin to use JDK1.3 rt.jar

2006-06-28 Thread dan tran
I think you need to fork the compiler and use compilerArguments instead -D On 6/28/06, Nicolas De Loof [EMAIL PROTECTED] wrote: Hello, short version How to set the bootclasspath used by maven-compiler-plugin ? /short version My build must target JDK1.3 so I've configured compiler