Author: mrdon Date: Sun Jan 7 18:14:20 2007 New Revision: 493906 URL: http://svn.apache.org/viewvc?view=rev&rev=493906 Log: Fixing pom for osx users WW-1392
Modified: struts/maven/trunk/struts-annotations/pom.xml Modified: struts/maven/trunk/struts-annotations/pom.xml URL: http://svn.apache.org/viewvc/struts/maven/trunk/struts-annotations/pom.xml?view=diff&rev=493906&r1=493905&r2=493906 ============================================================================== --- struts/maven/trunk/struts-annotations/pom.xml (original) +++ struts/maven/trunk/struts-annotations/pom.xml Sun Jan 7 18:14:20 2007 @@ -35,6 +35,27 @@ </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> + <distributionManagement> <repository> <id>apache.snapshots</id> @@ -54,14 +75,6 @@ </distributionManagement> <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> <dependency> <groupId>junit</groupId>