OPENJPA-1844 Update build to find jconsole.jar on MacOSX

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1027257 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Donald Woods 2010-10-25 20:23:54 +00:00
parent c9bad3efcd
commit f3b0fd45e4

View File

@ -36,6 +36,11 @@
<name>OpenJPA Kernel</name> <name>OpenJPA Kernel</name>
<description>OpenJPA Kernel</description> <description>OpenJPA Kernel</description>
<properties>
<!-- default location of jconsole.jar on most platforms -->
<jconsoleHome>${java.home}/../lib</jconsoleHome>
</properties>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.apache.openjpa</groupId> <groupId>org.apache.openjpa</groupId>
@ -70,11 +75,27 @@
<artifactId>jconsole</artifactId> <artifactId>jconsole</artifactId>
<version>1.6.0</version> <version>1.6.0</version>
<scope>system</scope> <scope>system</scope>
<systemPath>${java.home}/../lib/jconsole.jar</systemPath> <systemPath>${jconsoleHome}/jconsole.jar</systemPath>
</dependency> </dependency>
</dependencies> </dependencies>
<profiles>
<profile>
<id>macosx</id>
<activation>
<activeByDefault>false</activeByDefault>
<os>
<family>mac</family>
</os>
</activation>
<properties>
<!-- location of jconsole.jar on MacOSX -->
<jconsoleHome>${java.home}/lib</jconsoleHome>
</properties>
</profile>
</profiles>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>