Update to build with Java 7's changed java.vendor, thanks Oracle...

This commit is contained in:
moparisthebest 2013-07-08 04:08:51 -04:00
parent 800e8350da
commit 7a02261fc5
2 changed files with 20 additions and 2 deletions

View File

@ -29,7 +29,7 @@
<profiles>
<profile>
<id>default-tools.jar</id>
<id>default-tools.jar-sun</id>
<activation>
<property>
<name>java.vendor</name>
@ -46,6 +46,24 @@
</dependency>
</dependencies>
</profile>
<profile>
<id>default-tools.jar-oracle</id>
<activation>
<property>
<name>java.vendor</name>
<value>Oracle Corporation</value>
</property>
</activation>
<dependencies>
<dependency>
<groupId>com.sun</groupId>
<artifactId>tools</artifactId>
<version>1.6</version>
<scope>system</scope>
<systemPath>${java.home}/../lib/tools.jar</systemPath>
</dependency>
</dependencies>
</profile>
</profiles>
</project>

View File

@ -30,7 +30,7 @@
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>apt-mirror-api</artifactId>
<version>1.0</version>
<version>${project.version}</version>
</dependency>
</dependencies>
</project>