[
https://issues.apache.org/jira/browse/MNG-6799?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Herve Boutemy updated MNG-6799:
-------------------------------
Affects Version/s: 3.6.2
> 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
> Affects Versions: 3.6.2
> Reporter: Herve Boutemy
> Priority: Major
> Fix For: 3.6.3
>
>
> as discovered recently
> https://lists.apache.org/thread.html/efab59150580f27de386386730e3816188ea2d27faa5fa4c96934149@%3Cdev.maven.apache.org%3E
> in maven-model-builder, [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)