public static String resolve(String text, MavenDomProjectModel projectDom) {
    XmlElement element = projectDom.getXmlElement();
    if (element == null) return text;

    VirtualFile file = MavenDomUtil.getVirtualFile(element);
    if (file == null) return text;

    MavenProjectsManager mavenProjectsManager = MavenProjectsManager.getInstance(projectDom.getManager().getProject());

    MavenProject mavenProject = mavenProjectsManager.findProject(file);

    var additionalPropertySource = new AdditionalPropertySourceImpl(mavenProject, projectDom);

    return new MavenPropertyResolverHelper(projectDom, mavenProjectsManager, mavenProject, additionalPropertySource)
      .filterText(text);
  }
public static String resolve(String text, MavenDomProjectModel projectDom)