You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by lr...@apache.org on 2008/09/11 01:45:02 UTC

svn commit: r694067 - /tuscany/java/sca/modules/interface-java-jaxws/pom.xml

Author: lresende
Date: Wed Sep 10 16:45:01 2008
New Revision: 694067

URL: http://svn.apache.org/viewvc?rev=694067&view=rev
Log:
TUSCANY-2594 - Applying Kevan's patch

Modified:
    tuscany/java/sca/modules/interface-java-jaxws/pom.xml

Modified: tuscany/java/sca/modules/interface-java-jaxws/pom.xml
URL: http://svn.apache.org/viewvc/tuscany/java/sca/modules/interface-java-jaxws/pom.xml?rev=694067&r1=694066&r2=694067&view=diff
==============================================================================
--- tuscany/java/sca/modules/interface-java-jaxws/pom.xml (original)
+++ tuscany/java/sca/modules/interface-java-jaxws/pom.xml Wed Sep 10 16:45:01 2008
@@ -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>