[infinispan-dev] tools project compilation issues fixed
Galder Zamarreno
galder.zamarreno at redhat.com
Wed Jun 17 12:28:16 EDT 2009
Hi,
The following messages arising from tools compiation:
/home/galder/jboss/code/infinispan/trunk/tools/src/main/java/org/infinispan/tools/doclet/jmx/JmxDoclet.java:[3,22]
package com.sun.javadoc does not exist
Are due to tools.jar not being included in the dependencies:
http://maven.apache.org/general.html#tools-jar-dependency
Looks like adding this fixes it:
<dependency>
<groupId>com.sun</groupId>
<artifactId>tools</artifactId>
<version>1.4.2</version>
<scope>system</scope>
<systemPath>${java.home}/../lib/tools.jar</systemPath>
</dependency>
Vladimir, I've also modified the POM so that the dependency version on
infinispan is not hardcoded and added the test jar dependency.
Cheers,
--
Galder Zamarreño
Sr. Software Maintenance Engineer
JBoss, a division of Red Hat
More information about the infinispan-dev
mailing list