Class ModelUtils
java.lang.Object
org.apache.maven.plugin.resources.remote.ModelUtils
HELPER CLASS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static List<org.apache.maven.model.Dependency>
mergeDependencyList
(List<org.apache.maven.model.Dependency> child, List<org.apache.maven.model.Dependency> parent) static 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) private static void
mergePluginExecutionDefinitions
(org.apache.maven.model.PluginExecution child, org.apache.maven.model.PluginExecution parent) 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) -
mergePluginExecutionDefinitions
private static void mergePluginExecutionDefinitions(org.apache.maven.model.PluginExecution child, org.apache.maven.model.PluginExecution parent) -
mergeRepositoryLists
-
mergeFilterLists
-
mergeDependencyList
-