Added java 1.7 compile config to pom