> Note I performed a temporary change to the pom.xml file for this to work:
>
> <!--<dependency>
> <groupId>com.sun</groupId>
> <artifactId>tools</artifactId>
> <version>1.6.0</version>
> <scope>system</scope>
> <systemPath>${java.home}/../lib/tools.jar</systemPath>
> </dependency>-->
>
>
>
> On the mac I don't the the above systemPath trick works?
I checked the above trick here:
http://maven.apache.org/general.html#tools-jar-dependency
It indicates we should use a profile? Not sure if that will work …
> The following code includes tools.jar for JDKs on Windows, Linux and Solaris
> (it is already included in the runtime for Mac OS X and some free JDKs).
>
> <profiles>
> <profile>
> <id>default-tools.jar</id>
> <activation>
> <property>
> <name>java.vendor</name>
> <value>Sun Microsystems Inc.</value>
> </property>
> </activation>
> <dependencies>
> <dependency>
> <groupId>com.sun</groupId>
> <artifactId>tools</artifactId>
> <version>1.4.2</version>
> <scope>system</scope>
> <systemPath>${java.home}/../lib/tools.jar</systemPath>
> </dependency>
> </dependencies>
> </profile>
> </profiles>
> …
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel