Uploaded image for project: 'Maven Shared Components'
  1. Maven Shared Components
  2. MSHARED-1412

Allow customization of Interpolator used for BaseFilter.getDefaultFilterWrappers(...)

    XMLWordPrintableJSON

Details

    Description

      The default implementation of getDefaultFilterWrappers always returns a single element list containing a Wrapper (https://github.com/apache/maven-filtering/blob/9d528d0871d93e317ae21a4b6922cd795502364c/src/main/java/org/apache/maven/shared/filtering/BaseFilter.java#L178).
      That Wrapper's Interpolator should be customizable with regards to

      1. ValueSource and
      2. InterpolationPostProcessor

      Currently neither the Interpolator nor the Wrapper class is exposed or can be extended.

      As not every DefaultFilterInfo implementation necessarily relies on the Plexus Interpolator this should probably be part of a dedicated interface which is only implemented for Interpolator based default filters.

      Attachments

        Issue Links

          Activity

            People

              kwin Konrad Windszus
              kwin Konrad Windszus
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: