Class DefaultModelNormalizer
java.lang.Object
org.apache.maven.model.normalization.DefaultModelNormalizer
- All Implemented Interfaces:
ModelNormalizer
@Named
@Singleton
@Deprecated(since="4.0.0")
public class DefaultModelNormalizer
extends Object
implements ModelNormalizer
Deprecated.
Handles normalization of a model.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classDeprecated.DuplicateMerger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinjectDefaultValues(org.apache.maven.model.Model model, ModelBuildingRequest request, ModelProblemCollector problems) Deprecated.Sets default values in the specified model that for technical reasons cannot be set directly in the Modello definition.voidmergeDuplicates(org.apache.maven.model.Model model, ModelBuildingRequest request, ModelProblemCollector problems) Deprecated.Merges duplicate elements like multiple declarations of the same build plugin in the specified model.
-
Constructor Details
-
DefaultModelNormalizer
public DefaultModelNormalizer()Deprecated.
-
-
Method Details
-
mergeDuplicates
public void mergeDuplicates(org.apache.maven.model.Model model, ModelBuildingRequest request, ModelProblemCollector problems) Deprecated.Description copied from interface:ModelNormalizerMerges duplicate elements like multiple declarations of the same build plugin in the specified model.- Specified by:
mergeDuplicatesin interfaceModelNormalizer- Parameters:
model- The model whose duplicate elements should be merged, must not benull.request- The model building request that holds further settings, must not benull.problems- The container used to collect problems that were encountered, must not benull.
-
injectDefaultValues
public void injectDefaultValues(org.apache.maven.model.Model model, ModelBuildingRequest request, ModelProblemCollector problems) Deprecated.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 interfaceModelNormalizer- Parameters:
model- The model in which to set the default values, must not benull.request- The model building request that holds further settings, must not benull.problems- The container used to collect problems that were encountered, must not benull.
-
org.apache.maven.api.services.ModelBuilderinstead