I got it :
${settings.localRepository}/com/sun/rt/1.3.1_08/rt-1.3.1_08.jar
I've searched maven2 sources for "localRepository" String and found
PluginParameterExpressionEvaluator.java.
This class helped m
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 ...
4.0.0
foo
bar
1.0.0
org.apache.maven.plugins
maven-compiler-plugin
${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 PROTE
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 ge
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}, ${localre
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 the
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 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 :
${localRepository}/com/sun/rt/1.3.1_08/rt.jar
I think you need to fork the compiler and use compilerArguments instead
-D
On 6/28/06, Nicolas De Loof <[EMAIL PROTECTED]> wrote:
Hello,
How to set the bootclasspath used by maven-compiler-plugin ?
My build must target JDK1.3 so I've configured compiler plugin to use
JRE1.3 rt.ja