separating out JMX dependence