private Map<String, String> collectModulePathsAndNames(MavenModel mavenModel, String baseDir) {
    String basePath = baseDir + "/";
    Map<String, String> result = new LinkedHashMap<>();
    for (Map.Entry<String, String> each : collectModulesRelativePathsAndNames(mavenModel, basePath).entrySet()) {
      result.put(new MavenPathWrapper(basePath + each.getKey()).getPath(), each.getValue());
    }
    return result;
  }
private Map<String, String> collectModulePathsAndNames(MavenModel mavenModel, String baseDir)