Skip to content

Commit

Permalink
Fix for SUN's tools.jar.
Browse files Browse the repository at this point in the history
  • Loading branch information
dweiss committed Apr 3, 2012
1 parent e90bf6f commit 992009f
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions examples/ant/pom.xml
Expand Up @@ -108,4 +108,34 @@
</plugin>
</plugins>
</build>


<profiles>
<profile>
<id>tools.jar</id>
<activation>
<property>
<name>java.vendor</name>
<value>Sun Microsystems Inc.</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<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>
</build>
</profile>
</profiles>
</project>

0 comments on commit 992009f

Please sign in to comment.