You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2012/05/24 23:51:49 UTC

svn commit: r1342453 - /maven/plugin-tools/trunk/maven-plugin-tools-javadoc/pom.xml

Author: hboutemy
Date: Thu May 24 21:51:49 2012
New Revision: 1342453

URL: http://svn.apache.org/viewvc?rev=1342453&view=rev
Log:
[MPLUGIN-202] specific tools.jar location on Mac

Modified:
    maven/plugin-tools/trunk/maven-plugin-tools-javadoc/pom.xml

Modified: maven/plugin-tools/trunk/maven-plugin-tools-javadoc/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugin-tools/trunk/maven-plugin-tools-javadoc/pom.xml?rev=1342453&r1=1342452&r2=1342453&view=diff
==============================================================================
--- maven/plugin-tools/trunk/maven-plugin-tools-javadoc/pom.xml (original)
+++ maven/plugin-tools/trunk/maven-plugin-tools-javadoc/pom.xml Thu May 24 21:51:49 2012
@@ -46,12 +46,26 @@
 
   <profiles>
     <profile>
-      <id>default-tools.jar</id>
+      <id>mac</id>
       <activation>
-        <property>
-          <name>java.vendor</name>
-          <value>Sun Microsystems Inc.</value>
-        </property>
+        <os>
+          <family>mac</family>
+        </os>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>com.sun</groupId>
+          <artifactId>tools</artifactId>
+          <version>1.4.2</version>
+          <scope>system</scope>
+          <systemPath>${java.home}/../Classes/classes.jar</systemPath>
+        </dependency>
+      </dependencies>
+    </profile>
+    <profile>
+      <id>default</id>
+      <activation>
+        <activeByDefault>true</activeByDefault>
       </activation>
       <dependencies>
         <dependency>
@@ -63,6 +77,7 @@
         </dependency>
       </dependencies>
     </profile>
+
     <profile>
       <id>run-its</id>
       <build>