Package org.apache.maven.impl.model
Class DefaultModelValidator
java.lang.Object
org.apache.maven.impl.model.DefaultModelValidator
- All Implemented Interfaces:
ModelValidator
-
Field Summary
FieldsFields inherited from interface org.apache.maven.api.services.model.ModelValidator
VALIDATION_LEVEL_MAVEN_2_0, VALIDATION_LEVEL_MAVEN_3_0, VALIDATION_LEVEL_MAVEN_3_1, VALIDATION_LEVEL_MAVEN_4_0, VALIDATION_LEVEL_MINIMAL, VALIDATION_LEVEL_STRICT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvalidateDependencyVersion(ModelProblemCollector problems, Dependency d, String prefix) voidvalidateEffectiveModel(Session s, Model m, int validationLevel, ModelProblemCollector problems) voidvalidateFileModel(Session s, Model m, int validationLevel, ModelProblemCollector problems) voidvalidateRawModel(Session s, Model m, int validationLevel, ModelProblemCollector problems)
-
Field Details
-
BUILD_ALLOW_EXPRESSION_IN_EFFECTIVE_PROJECT_VERSION
- See Also:
-
-
Constructor Details
-
DefaultModelValidator
-
-
Method Details
-
validateFileModel
public void validateFileModel(Session s, Model m, int validationLevel, ModelProblemCollector problems) - Specified by:
validateFileModelin interfaceModelValidator
-
validateRawModel
public void validateRawModel(Session s, Model m, int validationLevel, ModelProblemCollector problems) - Specified by:
validateRawModelin interfaceModelValidator
-
validateEffectiveModel
public void validateEffectiveModel(Session s, Model m, int validationLevel, ModelProblemCollector problems) - Specified by:
validateEffectiveModelin interfaceModelValidator
-
validateDependencyVersion
protected void validateDependencyVersion(ModelProblemCollector problems, Dependency d, String prefix) - Since:
- 3.2.4
-