MULE-6612: Core exports unnecessary transient dependency to junit