You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Stefan Cordes (Jira)" <ji...@apache.org> on 2020/01/08 13:19:00 UTC

[jira] [Commented] (MNG-6697) Add a fast interpolator not using reflection

    [ https://issues.apache.org/jira/browse/MNG-6697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17010670#comment-17010670 ] 

Stefan Cordes commented on MNG-6697:
------------------------------------

With 
{code:java}
execution.setPhase( val ){code}
in StringVisitorModelInterpolator.ModelVisitor.visit(PluginExecution)

the command
{code:java}
mvn flatten:flatten{code}
with <flattenMode>resolveCiFriendliesOnly</flattenMode>

the properties in <phase>${listProfilesPhase}</phase> are replaced by the concrete value

which lets depending projects (using above pom as parent) fail no longer be able to change phase via -DlistProfilesPhase=...

> Add a fast interpolator not using reflection
> --------------------------------------------
>
>                 Key: MNG-6697
>                 URL: https://issues.apache.org/jira/browse/MNG-6697
>             Project: Maven
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 3.6.1
>            Reporter: Guillaume Nodet
>            Assignee: Olivier Lamy
>            Priority: Major
>             Fix For: 3.6.2
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>




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