POM and build fixes provided by Tobias Wich