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 theModelVersionProcessor
to support CI Friendly Versions
-
-
Constructor Summary
Constructors Constructor Description DefaultModelVersionProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isValidProperty(String property)
void
overwriteModelProperties(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(String property)
- Specified by:
isValidProperty
in interfaceModelVersionProcessor
- Parameters:
property
- the property to check- Returns:
true
if this is a valid property for this processor
-
overwriteModelProperties
public void overwriteModelProperties(Properties modelProperties, ModelBuildingRequest request)
Description copied from interface:ModelVersionProcessor
This method is responsible for examining the request and possibly overwrite of the valid properties in the model- Specified by:
overwriteModelProperties
in interfaceModelVersionProcessor
-
-