Author: veithen Date: Mon Jan 30 16:01:18 2012 New Revision: 1237744 URL: http://svn.apache.org/viewvc?rev=1237744&view=rev Log: Fixed the build on non Mac OS X platforms.
Modified: axis/axis1/java/trunk/distribution/pom.xml Modified: axis/axis1/java/trunk/distribution/pom.xml URL: http://svn.apache.org/viewvc/axis/axis1/java/trunk/distribution/pom.xml?rev=1237744&r1=1237743&r2=1237744&view=diff ============================================================================== --- axis/axis1/java/trunk/distribution/pom.xml (original) +++ axis/axis1/java/trunk/distribution/pom.xml Mon Jan 30 16:01:18 2012 @@ -133,4 +133,34 @@ </plugin> </plugins> </build> + <profiles> + <profile> + <id>tools-include</id> + <!-- Required on non Mac OS X platforms to use the javac Ant task with fork=false --> + <activation> + <property> + <name>java.vendor</name> + <value>Sun Microsystems Inc.</value> + </property> + </activation> + <build> + <pluginManagement> + <plugins> + <plugin> + <artifactId>maven-antrun-plugin</artifactId> + <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> + </plugin> + </plugins> + </pluginManagement> + </build> + </profile> + </profiles> </project>