void (@NotNull Module module, JavaParameters javaParameters, MavenProject mavenProject, UnaryOperator<String> runtimeProperties, String pluginArtifact, String pluginName) { MavenPlugin plugin = mavenProject.findPlugin("org.apache.maven.plugins", pluginArtifact); if (plugin != null) { Element config = mavenProject.getPluginGoalConfiguration(plugin, null); if (config == null) { config = new Element("configuration"); } patchJavaParameters(module, javaParameters, mavenProject, pluginName, config, runtimeProperties); } }