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
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
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
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
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
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},
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
${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
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
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
10 matches
Mail list logo