The test-jars are not compile time dependencies.. Fixing this avoids the test classes getting included in the activemq-all jar.