Skip to content

Commit

Permalink
Addded system dep on tools.jar
Browse files Browse the repository at this point in the history
  • Loading branch information
3miliano committed Oct 21, 2011
1 parent b0250ec commit c907d57
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 4 deletions.
7 changes: 7 additions & 0 deletions core/annotations-processor/pom.xml
Expand Up @@ -93,6 +93,13 @@
<artifactId>qdox</artifactId>
<version>1.6.1</version>
</dependency>
<dependency>
<groupId>com.sun</groupId>
<artifactId>tools</artifactId>
<scope>system</scope>
<version>1.6</version>
<systemPath>${toolsjar}</systemPath>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
Expand Down
44 changes: 40 additions & 4 deletions pom.xml
Expand Up @@ -137,6 +137,42 @@
</plugins>
</build>

<profiles>
<profile>
<id>windows_profile</id>
<activation>
<os>
<family>Windows</family>
</os>
</activation>
<properties>
<toolsjar>${java.home}/../lib/tools.jar</toolsjar>
</properties>
</profile>
<profile>
<id>linux_profile</id>
<activation>
<os>
<name>linux</name>
</os>
</activation>
<properties>
<toolsjar>${java.home}/../lib/tools.jar</toolsjar>
</properties>
</profile>
<profile>
<id>osx_profile</id>
<activation>
<os>
<family>mac</family>
</os>
</activation>
<properties>
<toolsjar>${java.home}/../Classes/classes.jar</toolsjar>
</properties>
</profile>
</profiles>

<repositories>
<repository>
<id>jboss</id>
Expand All @@ -148,10 +184,10 @@
<name>MuleSoft Releases</name>
<url>http://repository.mulesoft.org/releases/</url>
</repository>
<repository>
<id>oss-sonatype-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</repository>
<repository>
<id>oss-sonatype-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</repository>
</repositories>

<distributionManagement>
Expand Down

0 comments on commit c907d57

Please sign in to comment.