In progress with https://github.com/jenkinsci/jenkins/pull/2352
Submitted changes with the extension point to allow MavenInstallation selection and created downstream PR-72 for Maven Plugin.
I think the whole hudson.tasks._maven package (and corresponding feature in pipeline-maven-plugin) would best be deprecated. With recent versions of Maven, it is better to use (for example)
ansiColor('xterm') { withEnv(['MAVEN_OPTS=-Djansi.force=true']) { // MNG-6380 sh 'mvn -B -Dstyle.color=always -ntp clean verify' } }
which produces richer and better coloration than Jenkins ever did.