Fix Jenkins build
<log4jParentDir>${basedir}/..</log4jParentDir>
<docLabel>JMX GUI Documentation</docLabel>
<projectDir>/jmx-gui</projectDir>
+ <jenkins.java.home>/home/jenkins/tools/java/latest1.7</jenkins.java.home>
</properties>
<dependencies>
<dependency>
</reporting>
<profiles>
<profile>
- <id>default-profile</id>
+ <id>default-jmx-profile</id>
<activation>
<activeByDefault>true</activeByDefault>
<file>
</dependency>
</dependencies>
</profile>
+ <profile>
+ <id>jenkins-profile</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ <property>
+ <name>jenkins</name>
+ </property>
+ </activation>
+ <dependencies>
+ <dependency>
+ <groupId>com.sun</groupId>
+ <artifactId>jconsole</artifactId>
+ <version>1.7.0</version>
+ <scope>system</scope>
+ <systemPath>${jenkins.java.home}/lib/jconsole.jar</systemPath>
+ <optional>true</optional>
+ </dependency>
+ </dependencies>
+ </profile>
</profiles>
</project>
