dev@jax-ws.java.net

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

From: Henri Gomez <henri.gomez_at_gmail.com>
Date: Tue, 8 Jul 2008 11:50:30 +0200

More on this :

In the 1.10 pom file I could see :

 <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>


With an IBM JDK ${java.vendor} is IBM Corporation.

Sun Microsystems Inc. is only for ${java.specification.vendor}

This profile add-on has been introduced to fix Apple JVM specific
tools location but break this plugin now on IBM JDK, both Linux and
Windows ;(