Class DefaultModelVersionProcessor
java.lang.Object
org.apache.maven.model.interpolation.DefaultModelVersionProcessor
- All Implemented Interfaces:
ModelVersionProcessor
@Named
@Singleton
public class DefaultModelVersionProcessor
extends Object
implements ModelVersionProcessor
Maven default implementation of the
ModelVersionProcessor to support
CI Friendly Versions-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisValidProperty(String property) voidoverwriteModelProperties(Properties modelProperties, ModelBuildingRequest request) This method is responsible for examining the request and possibly overwrite of the valid properties in the model
-
Constructor Details
-
DefaultModelVersionProcessor
public DefaultModelVersionProcessor()
-
-
Method Details
-
isValidProperty
- Specified by:
isValidPropertyin interfaceModelVersionProcessor- Parameters:
property- the property to check- Returns:
trueif this is a valid property for this processor
-
overwriteModelProperties
Description copied from interface:ModelVersionProcessorThis method is responsible for examining the request and possibly overwrite of the valid properties in the model- Specified by:
overwriteModelPropertiesin interfaceModelVersionProcessor
-