Update pom to Java 7

Change-Id: I276cb358690ced5adf45821db63e52f87a5ec01d