MavenProjectReaderResult (MavenGeneralSettings generalSettings, VirtualFile file, MavenExplicitProfiles explicitProfiles, MavenProjectReaderProjectLocator locator) { Path basedir = getBaseDir(file); Pair<RawModelReadResult, MavenExplicitProfiles> readResult = doReadProjectModel(generalSettings, basedir, file, explicitProfiles, new HashSet<>(), locator); MavenModel model = myReadHelper.interpolate(basedir, file, readResult.first.model); Map<String, String> modelMap = new HashMap<>(); modelMap.put("groupId", model.getMavenId().getGroupId()); modelMap.put("artifactId", model.getMavenId().getArtifactId()); modelMap.put("version", model.getMavenId().getVersion()); modelMap.put("build.outputDirectory", model.getBuild().getOutputDirectory()); modelMap.put("build.testOutputDirectory", model.getBuild().getTestOutputDirectory()); modelMap.put("build.finalName", model.getBuild().getFinalName()); modelMap.put("build.directory", model.getBuild().getDirectory()); return new MavenProjectReaderResult(model, modelMap, readResult.second, null, readResult.first.problems, new HashSet<>()); }