void (@NotNull String mavenVersion, List<File> classpath, String root) { BuildDependenciesCommunityRoot communityRoot = new BuildDependenciesCommunityRoot(Path.of(PathManager.getCommunityHomePath())); BundledMavenDownloader.INSTANCE.downloadMaven4LibsSync(communityRoot); classpath.add(new File(PathUtil.getJarPathForClass(MavenId.class))); classpath.add(new File(root, "intellij.maven.server")); File parentFile = MavenUtil.getMavenPluginParentFile(); addDir(classpath, new File(parentFile, "maven40-server-impl/lib"), f -> true); classpath.add(new File(root, "intellij.maven.server.m40")); }