Added java 1.7 properties to pom file