Marco Herrn wrote: > I am using the $JAVA_HOME/lib/tools.jar in a project. Unfortunately I found > no way of telling maven to set a dependency on this. What is important here > is, that it should refer to the $JAVA_HOME environment variable. Is there a > way of getting this dependency handled by maven?
The maven way of solving this is copying $JAVA_HOME/tools.jar to $MAVEN_REPO_LOCAL/jdk/jars/tools-1.4.2.jar and then depending on <groupId>jdk</groupId> <artifactId>tools</artifact> <version>1.4.2</version> R. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]