Updated jdk and maven compiler to 1.7.