clean up Maven warnings

I ran a param-build on this already.  Results are at http://messaging-09.jbm.lab.bos.redhat.com:8080/job/hornetq-param/571/.  I don't believe the failures are related to my changes.