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 Details

    • FULL_EXTERNAL_INTERPOLATION_PROPERTY

      public static final String FULL_EXTERNAL_INTERPOLATION_PROPERTY
      User property for opting back into the previous behavior of interpolating repository-resolved models (built at ModelBuildingRequest.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_FULL with @Config so it appears in the auto-generated configuration documentation.

      See Also:
  • Constructor Details

    • AbstractStringBasedModelInterpolator

      public AbstractStringBasedModelInterpolator()
  • Method Details