Class ModelUtils
java.lang.Object
org.apache.maven.plugin.resources.remote.ModelUtils
HELPER CLASS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
mergeFilterLists
(List<String> childFilters, List<String> parentFilters) static void
mergePluginDefinitions
(org.apache.maven.model.Plugin child, org.apache.maven.model.Plugin parent, boolean handleAsInheritance) static void
mergePluginLists
(org.apache.maven.model.PluginContainer childContainer, org.apache.maven.model.PluginContainer parentContainer, boolean handleAsInheritance) This should be the resulting ordering of plugins after merging:static List
<org.apache.maven.model.Repository> mergeRepositoryLists
(List<org.apache.maven.model.Repository> dominant, List<org.apache.maven.model.Repository> recessive) static List
<org.apache.maven.model.Plugin> orderAfterMerge
(List<org.apache.maven.model.Plugin> merged, List<org.apache.maven.model.Plugin> highPrioritySource, List<org.apache.maven.model.Plugin> lowPrioritySource)
-
Constructor Details
-
ModelUtils
public ModelUtils()
-
-
Method Details
-
mergePluginLists
public static void mergePluginLists(org.apache.maven.model.PluginContainer childContainer, org.apache.maven.model.PluginContainer parentContainer, boolean handleAsInheritance) This should be the resulting ordering of plugins after merging:Given:
parent: X -> A -> B -> D -> E child: Y -> A -> C -> D -> F
Result:X -> Y -> A -> B -> C -> D -> E -> F
-
orderAfterMerge
-
mergePluginDefinitions
public static void mergePluginDefinitions(org.apache.maven.model.Plugin child, org.apache.maven.model.Plugin parent, boolean handleAsInheritance) -
mergeRepositoryLists
-
mergeFilterLists
-