Model (@NotNull Model result, File basedir) { String mavenVersion = System.getProperty(MavenServerEmbedder.MAVEN_EMBEDDER_VERSION); if (VersionComparatorUtil.compare(mavenVersion, "3.3.1") >= 0) { return doInterpolate330(result, basedir); } else { Model model = doInterpolate325(result, basedir); org.apache.maven.project.path.PathTranslator pathTranslator = new DefaultPathTranslator(); pathTranslator.alignToBaseDirectory(model, basedir); return model; } }