Class AbstractStringBasedModelInterpolator
java.lang.Object
org.apache.maven.model.interpolation.AbstractStringBasedModelInterpolator
- All Implemented Interfaces:
ModelInterpolator
- Direct Known Subclasses:
StringSearchModelInterpolator,StringVisitorModelInterpolator
public abstract class AbstractStringBasedModelInterpolator
extends Object
implements ModelInterpolator
Use a regular expression search to find and resolve expressions within the POM.
- Author:
- jdcasey Created on Feb 3, 2005
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringUser property for opting back into the previous behavior of interpolating repository-resolved models (built atModelBuildingRequest.VALIDATION_LEVEL_MINIMAL) against the full set of session properties (system, environment and CLI).Fields inherited from interface org.apache.maven.model.interpolation.ModelInterpolator
DEFAULT_MAVEN_REPO_CENTRAL_URL, MAVEN_REPO_CENTRAL_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected List<? extends org.codehaus.plexus.interpolation.InterpolationPostProcessor> createPostProcessors(Model model, File projectDir, ModelBuildingRequest config) protected org.codehaus.plexus.interpolation.RecursionInterceptorprotected List<org.codehaus.plexus.interpolation.ValueSource> createValueSources(Model model, File projectDir, ModelBuildingRequest config, ModelProblemCollector problems) setPathTranslator(PathTranslator pathTranslator) setRootLocator(RootLocator rootLocator) setUrlNormalizer(UrlNormalizer urlNormalizer) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.maven.model.interpolation.ModelInterpolator
interpolateModel
-
Field Details
-
FULL_EXTERNAL_INTERPOLATION_PROPERTY
User property for opting back into the previous behavior of interpolating repository-resolved models (built atModelBuildingRequest.VALIDATION_LEVEL_MINIMAL) against the full set of session properties (system, environment and CLI). When set to"false"(default), such models are interpolated only against their own<properties>, preventing property leaking from the requesting build into transitive POMs. When set to"true", full interpolation is applied as in previous Maven versions.In Maven 4.x this constant is promoted to
org.apache.maven.api.Constants.MAVEN_MODEL_DEPENDENCY_INTERPOLATION_FULLwith@Configso it appears in the auto-generated configuration documentation.- See Also:
-
-
Constructor Details
-
AbstractStringBasedModelInterpolator
public AbstractStringBasedModelInterpolator()
-
-
Method Details
-
setPathTranslator
-
setUrlNormalizer
-
setVersionPropertiesProcessor
public AbstractStringBasedModelInterpolator setVersionPropertiesProcessor(ModelVersionProcessor processor) -
setRootLocator
-
createValueSources
protected List<org.codehaus.plexus.interpolation.ValueSource> createValueSources(Model model, File projectDir, ModelBuildingRequest config, ModelProblemCollector problems) -
createPostProcessors
protected List<? extends org.codehaus.plexus.interpolation.InterpolationPostProcessor> createPostProcessors(Model model, File projectDir, ModelBuildingRequest config) -
createRecursionInterceptor
protected org.codehaus.plexus.interpolation.RecursionInterceptor createRecursionInterceptor()
-