The maven build java version is changed from jdk 1.5 to jdk 1.7.