Class DefaultModelVersionProcessor
- java.lang.Object
-
- org.apache.maven.model.interpolation.DefaultModelVersionProcessor
-
- All Implemented Interfaces:
ModelVersionProcessor
@Named @Singleton public class DefaultModelVersionProcessor extends java.lang.Object implements ModelVersionProcessor
Maven default implementation of theModelVersionProcessorto support CI Friendly Versions
-
-
Constructor Summary
Constructors Constructor Description DefaultModelVersionProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisValidProperty(java.lang.String property)voidoverwriteModelProperties(java.util.Properties modelProperties, ModelBuildingRequest request)This method is responsible for examining the request and possibly overwrite of the valid properties in the model
-
-
-
Method Detail
-
isValidProperty
public boolean isValidProperty(java.lang.String property)
- Specified by:
isValidPropertyin interfaceModelVersionProcessor- Parameters:
property- the property to check- Returns:
trueif this is a valid property for this processor
-
overwriteModelProperties
public void overwriteModelProperties(java.util.Properties modelProperties, ModelBuildingRequest request)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
-
-