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>