JENKINS-11964: Backported Maven3 Execution logic from MavenModuleSetBuild.MavenModuleSetBuildExecution to MavenBuild.MavenBuildExecution to reintroduce single-module build support for Maven 3.x projects