[infinispan-commits] Infinispan SVN: r482 - trunk/tools.

infinispan-commits at lists.jboss.org infinispan-commits at lists.jboss.org
Thu Jun 18 05:19:22 EDT 2009


Author: galder.zamarreno at jboss.com
Date: 2009-06-18 05:19:22 -0400 (Thu, 18 Jun 2009)
New Revision: 482

Modified:
   trunk/tools/pom.xml
Log:
Fixed tools' pom.xml to cope with tools.jar in all plattforms.

Modified: trunk/tools/pom.xml
===================================================================
--- trunk/tools/pom.xml	2009-06-17 17:29:41 UTC (rev 481)
+++ trunk/tools/pom.xml	2009-06-18 09:19:22 UTC (rev 482)
@@ -29,12 +29,27 @@
          <type>test-jar</type>
          <scope>test</scope>
       </dependency>
-      <dependency>
-          <groupId>com.sun</groupId>
-          <artifactId>tools</artifactId>
-          <version>1.5</version>
-          <scope>system</scope>
-          <systemPath>${java.home}/../lib/tools.jar</systemPath>
-        </dependency>      
    </dependencies>
+
+   <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>
+
 </project>




More information about the infinispan-commits mailing list