mirror of https://github.com/apache/maven.git
Trying to adjust to work with OSX.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289290 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4f19cfc8f8
commit
c9de4b6e9a
|
@ -10,7 +10,7 @@
|
|||
<artifactId>jdk-tools</artifactId>
|
||||
<version>1.4.2</version>
|
||||
<scope>system</scope>
|
||||
<systemPath>${java.home}/../lib/tools.jar</systemPath>
|
||||
<systemPath>${toolsJarPath}</systemPath>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
|
@ -19,4 +19,30 @@
|
|||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>default-tools.jar</id>
|
||||
<activation>
|
||||
<property>
|
||||
<name>java.vendor</name>
|
||||
<value>Sun Microsystems Inc.</value>
|
||||
</property>
|
||||
</activation>
|
||||
<properties>
|
||||
<toolsJarPath>${java.home}/../lib/tools.jar</toolsJarPath>
|
||||
</properties>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>osx-tools.jar</id>
|
||||
<activation>
|
||||
<property>
|
||||
<name>java.vendor</name>
|
||||
<value>Apple Computer, Inc.</value>
|
||||
</property>
|
||||
</activation>
|
||||
<properties>
|
||||
<toolsJarPath>${java.home}/../Classes/classes.jar</toolsJarPath>
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
</model>
|
||||
|
|
Loading…
Reference in New Issue