diff options
Diffstat (limited to '')
-rw-r--r-- | java/sca/modules/interface-java-jaxws/pom.xml | 31 |
1 files changed, 21 insertions, 10 deletions
diff --git a/java/sca/modules/interface-java-jaxws/pom.xml b/java/sca/modules/interface-java-jaxws/pom.xml index c673a74ef2..1a738e0f16 100644 --- a/java/sca/modules/interface-java-jaxws/pom.xml +++ b/java/sca/modules/interface-java-jaxws/pom.xml @@ -196,16 +196,6 @@ --> </executions> - <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> - </plugin> <!-- @@ -260,4 +250,25 @@ </plugins> </build> + <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.5.0</version> + <scope>system</scope> + <systemPath>${java.home}/../lib/tools.jar</systemPath> + </dependency> + </dependencies> + </profile> + </profiles> + </project> |