change source code to 1.7, fixed pom to compile with ajc