fixed pom.xml and coding style