Bringup build in mac os java7 environment

git-svn-id: https://svn.apache.org/repos/asf/tuscany/sca-java-2.x/trunk@1418376 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/modules/core-spi/pom.xml b/modules/core-spi/pom.xml
index 25915ec..606303a 100644
--- a/modules/core-spi/pom.xml
+++ b/modules/core-spi/pom.xml
@@ -80,7 +80,6 @@
       <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-antrun-plugin</artifactId>
-        <version>1.6</version>
          <executions>
              <execution>
                 <id>process-resources</id>
diff --git a/pom.xml b/pom.xml
index 4c588d6..0939dbb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -145,6 +145,7 @@
                 <os>
                     <family>mac</family>
                 </os>
+                <jdk>[1.3,1.6)</jdk>
             </activation>
             <properties>
                 <tools.jar>${java.home}/../Classes/classes.jar</tools.jar>
@@ -826,7 +827,7 @@
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-antrun-plugin</artifactId>
-                    <version>1.3</version>
+                    <version>1.7</version>
 
                     <dependencies>
                         <dependency>
@@ -835,6 +836,7 @@
                             <version>1.7.1</version>
                         </dependency>
                         <!-- this JDk dependency is a workaround for Maven bug - http://jira.codehaus.org/browse/MNG-1323  -->
+                        <!--
                         <dependency>
                             <groupId>sun.jdk</groupId>
                             <artifactId>tools</artifactId>
@@ -843,6 +845,7 @@
                             <systemPath>${tools.jar}</systemPath>
                             <optional>true</optional>
                         </dependency>
+                        -->
                     </dependencies>
                 </plugin>