Set Java version to 1.7 in maven compiler plugin.