Added compiler plugin to Maven POM to avoid compile errors.