Set java source / target version in pom.xml