Added java 1.7 to pom.