Maven sniplet to compile with java 1.7