Added JDK 7 dependency (6 should work to) in the pom as mvn compile was failing