fixes to poms for java7 support