dev@jax-ws.java.net

Re: jaxws-maven-plugin failure on non Sun SDK

From: Henri Gomez <henri.gomez_at_gmail.com>
Date: Wed, 16 Jul 2008 10:56:33 +0200

Any news about this suggestion ?

Thanks

2008/7/10 Henri Gomez <henri.gomez_at_gmail.com>:
> Done.
>
> BTW, could I suggest a fix for jaxws-maven-plugin ?
>
> Turn the current tools.jar activation from :
>
> <profiles>
> <profile>
> <!-- This is only for non MAC OS X builds, hence the property below -->
> <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.5.0</version>
> <scope>system</scope>
> <systemPath>${java.home}/../lib/tools.jar</systemPath>
> </dependency>
> </dependencies>
> </profile>
> </profiles>
>
> into
>
> <profiles>
> <profile>
> <!-- This is only for non MAC OS X builds, hence the property below -->
> <id>default-tools.jar</id>
> <activation>
> <file>
> <exists>${java.home}/../lib/tools.jar</exists>
> </file>
> </activation>
> <dependencies>
> <dependency>
> <groupId>com.sun</groupId>
> <artifactId>tools</artifactId>
> <version>1.5.0</version>
> <scope>system</scope>
> <systemPath>${java.home}/../lib/tools.jar</systemPath>
> </dependency>
> </dependencies>
> </profile>
> </profiles>
>
>
> For exemple IBM JDK ${java.vendor} is IBM Corporation.
>
> Under windows or Linux x86, you could switch from IBM to Sun SDK, but
> not on some specific OS/Hardware like AIX or Linux PowerPC.
>
> Thanks
>