Herve Boutemy created MNG-6799:
----------------------------------

             Summary: avoid model interpolation instability risk: ensure 
StringVisitorModelInterpolator replaces StringSearchModelInterpolator
                 Key: MNG-6799
                 URL: https://issues.apache.org/jira/browse/MNG-6799
             Project: Maven
          Issue Type: Improvement
          Components: Inheritance and Interpolation
            Reporter: Herve Boutemy
             Fix For: 3.6.3


as discovered recently 
https://lists.apache.org/thread.html/efab59150580f27de386386730e3816188ea2d27faa5fa4c96934149@%3Cdev.maven.apache.org%3E
StringVisitorModelInterpolator is meant to replace StringSearchModelInterpolator
but currently, both can be injected and the selection of one against the other 
depends on the order of generated CDI descriptors: if you're lucky, 
StringVisitorModelInterpolator appear first, but if you're not, 
StringSearchModelInterpolator will do instead
in addition, with Reproducible Builds being introduced in MNG-6789, the order 
that is introduced is String order: StringSearchModelInterpolator is then 
before StringVisitorModelInterpolator
then with Reproducible Builds we get the unwanted result in a reproducible 
way...




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to