Increased Java version in pom.xml from 1.6 to 1.7