update pom
reformat and eliminate some warnings