Added jdk 1.7 support for maven.