You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Simone Tripodi (JIRA)" <ji...@apache.org> on 2018/10/10 17:58:00 UTC

[jira] [Created] (SLING-8003) Interpolate Maven variables using the Maven Filtering APIs rather that iterate string replacing operations

Simone Tripodi created SLING-8003:
-------------------------------------

             Summary: Interpolate Maven variables using the Maven Filtering APIs rather that iterate string replacing operations
                 Key: SLING-8003
                 URL: https://issues.apache.org/jira/browse/SLING-8003
             Project: Sling
          Issue Type: Improvement
          Components: Feature Model, Maven Plugins and Archetypes
            Reporter: Simone Tripodi
            Assignee: David Bosschaert


Currently, the {{Substitution}} class iterates over all variables and replace them one by one in the whole input string.

We can improve performances - and avoid writing custom variables interpolator - by replacing its use with the {{MavenReaderFilter}} API.

It will helpful also to avoid reading the Feature file and storing it in a String, but keep working with {{Reader}} APIs.

PR is coming



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)