clean up poms

including change to java 1.7 style code
fix gh-16