Added Maven compile build plugin to pom.xml to enforce Java version.