add -source 1.7 and -target 1.7 to pom.xml