Class DefaultModelNormalizer
java.lang.Object
org.apache.maven.internal.impl.model.DefaultModelNormalizer
- All Implemented Interfaces:
- ModelNormalizer
Handles normalization of a model.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionprotected static classDuplicateMerger
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioninjectDefaultValues(Model model, ModelBuilderRequest request, ModelProblemCollector problems) Sets default values in the specified model that for technical reasons cannot be set directly in the Modello definition.mergeDuplicates(Model model, ModelBuilderRequest request, ModelProblemCollector problems) Merges duplicate elements like multiple declarations of the same build plugin in the specified model.
- 
Constructor Details- 
DefaultModelNormalizerpublic DefaultModelNormalizer()
 
- 
- 
Method Details- 
mergeDuplicatespublic Model mergeDuplicates(Model model, ModelBuilderRequest request, ModelProblemCollector problems) Description copied from interface:ModelNormalizerMerges duplicate elements like multiple declarations of the same build plugin in the specified model.- Specified by:
- mergeDuplicatesin interface- ModelNormalizer
- Parameters:
- model- The model whose duplicate elements should be merged, must not be- null.
- request- The model building request that holds further settings, must not be- null.
- problems- The container used to collect problems that were encountered, must not be- null.
 
- 
injectDefaultValuespublic Model injectDefaultValues(Model model, ModelBuilderRequest request, ModelProblemCollector problems) Description copied from interface:ModelNormalizerSets default values in the specified model that for technical reasons cannot be set directly in the Modello definition.- Specified by:
- injectDefaultValuesin interface- ModelNormalizer
- Parameters:
- model- The model in which to set the default values, must not be- null.
- request- The model building request that holds further settings, must not be- null.
- problems- The container used to collect problems that were encountered, must not be- null.
 
 
-