use maven.compiler.source/target standard properties to define compiler version instead of direct plugin configuration: this will permit override in child poms through these properties too