Hi Michael,
> -----Original Message-----
> From: Michael Schuerig [mailto:[EMAIL PROTECTED]
> Sent: mercredi 23 f�vrier 2005 13:01
> To: [email protected]
> Subject: Defining a dependency on the JDK's tools.jar?
>
>
> Here's what I cobbled together
>
> project.xml:
>
> <dependency>
> <groupId>jdk</groupId>
> <artifactId>tools</artifactId>
> <type>jar</type>
> </dependency>
>
> project.properties:
>
> maven.jar.override=on
> maven.jar.tools=${java.home}/../lib/tools.jar
>
> This isn't exactly elegant. So, is there a better, cleaner way?
Yep, using the ${tools.jar} default Maven property. I don't think you really
wish to download it so there's no need to define it as a dependency. Having
a JDK installed is meant to be a prereq.
-Vincent
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]