Fix a few warnings and POM issues