void (Properties modelProperties, @Nullable List<MavenPluginDescriptor> descriptors, @Nullable String goal, Element cfgElement, MavenPlugin plugin) { if (descriptors == null) { return; } for (MavenPluginDescriptor descriptor : descriptors) { if (descriptor.properties != null) { for (MavenPluginDescriptor.ModelProperty property : descriptor.properties) { if (!property.insideConfigurationOnly && StringUtil.isNotEmpty(property.name)) { modelProperties.setProperty(property.name, StringUtil.notNullize(property.value)); } } } if (descriptor.propertyGenerator != null) { MavenPropertiesGenerator generator = SingletonInstancesCache.getInstance(descriptor.propertyGenerator, descriptor.getPluginDescriptor().getClassLoader()); generator.generate(modelProperties, goal, plugin, cfgElement); } } }