public void executeWithMavenSession(MavenExecutionRequest request, final Runnable runnable) {
    if (VersionComparatorUtil.compare(getMavenVersion(), "3.2.5") >= 0) {
      executeWithSessionScope(request, runnable);
    }
    else {
      executeWithMavenSessionLegacy(request, runnable);
    }
  }
public void executeWithMavenSession(MavenExecutionRequest request, final Runnable runnable)