String (@NotNull String plugin, @NotNull String value, @Nullable MavenDomProjectModel domModel) { if (domModel != null) { value = MavenPropertyResolver.resolve(value, domModel); } return value.replaceAll("\\$\\{" + plugin + "\\.(forkNumber|threadNumber)}", "1"); }