maven build for java 1.7