Author: ffang
Date: Thu Dec 9 02:45:27 2010
New Revision: 1043824
URL: http://svn.apache.org/viewvc?rev=1043824&view=rev
Log:
[CXF-3178]build failed on Mac OSX caused by Failed to resolve artifact.
om.sun:tools:jar:1.5.0
Modified:
cxf/trunk/parent/pom.xml
Modified: cxf/trunk/parent/pom.xml
URL:
http://svn.apache.org/viewvc/cxf/trunk/parent/pom.xml?rev=1043824&r1=1043823&r2=1043824&view=diff
==============================================================================
--- cxf/trunk/parent/pom.xml (original)
+++ cxf/trunk/parent/pom.xml Thu Dec 9 02:45:27 2010
@@ -92,7 +92,7 @@
<cxf.pmd.eclipse.ruleset>cxf-pmd-ruleset.xml</cxf.pmd.eclipse.ruleset>
<cxf.resources.base.path />
-
+ <jdk.tools>${java.home}/../lib/tools.jar</jdk.tools>
</properties>
@@ -187,6 +187,19 @@
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>5.2</version>
+ <exclusions>
+ <exclusion>
+ <groupId>com.sun</groupId>
+ <artifactId>tools</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>com.sun</groupId>
+ <artifactId>tools</artifactId>
+ <version>1.5.0</version>
+ <scope>system</scope>
+ <systemPath>${jdk.tools}</systemPath>
</dependency>
<dependency>
<groupId>org.apache.cxf.build-utils</groupId>
@@ -1353,6 +1366,17 @@
</properties>
</profile>
<profile>
+ <id>default-mac</id>
+ <activation>
+ <os>
+ <family>mac</family>
+ </os>
+ </activation>
+ <properties>
+ <jdk.tools>${java.home}/../Classes/classes.jar</jdk.tools>
+ </properties>
+ </profile>
+ <profile>
<id>validateServices</id>
<properties>
<cxf.validateServices>true</cxf.validateServices>