Author: davsclaus
Date: Wed Aug 31 09:22:00 2011
New Revision: 1163545
URL: http://svn.apache.org/viewvc?rev=1163545&view=rev
Log:
CAMEL-4398: Added profile to add sun tools.jar, which is needed. As opposed
jenkins will add the dependency by itself using a hardcoded path from that CI
server.
Modified:
camel/trunk/camel-core/pom.xml
Modified: camel/trunk/camel-core/pom.xml
URL:
http://svn.apache.org/viewvc/camel/trunk/camel-core/pom.xml?rev=1163545&r1=1163544&r2=1163545&view=diff
==============================================================================
--- camel/trunk/camel-core/pom.xml (original)
+++ camel/trunk/camel-core/pom.xml Wed Aug 31 09:22:00 2011
@@ -214,6 +214,28 @@
<profiles>
+
+ <!-- profile needed to have access to tools.jar -->
+ <!-- http://maven.apache.org/general.html#tools-jar-dependency -->
+ <profile>
+ <id>default-tools.jar</id>
+ <activation>
+ <property>
+ <name>java.vendor</name>
+ <value>Sun Microsystems Inc.</value>
+ </property>
+ </activation>
+ <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>
+ </profile>
+
<profile>
<id>release</id>
<build>