[ https://issues.apache.org/jira/browse/MNG-8081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17831105#comment-17831105 ]
ASF GitHub Bot commented on MNG-8081: ------------------------------------- mbenson commented on PR #1446: URL: https://github.com/apache/maven/pull/1446#issuecomment-2021625025 By way of [some] testing, I went ahead and expanded the profile activation model validation to consider the whole activation, similarly to how we are now interpolating the whole activation. Here I could be construed as misusing the `MavenTransformer` to walk the activation; if this is deemed offensive we could consider generating a similar `MavenWalker` class. > default profile activation should consider available system and user > properties > ------------------------------------------------------------------------------- > > Key: MNG-8081 > URL: https://issues.apache.org/jira/browse/MNG-8081 > Project: Maven > Issue Type: Improvement > Components: Profiles > Affects Versions: 3.9.6, 4.0.0 > Reporter: Matthew Jason Benson > Priority: Minor > > As discussed in my open PR, my use case is to compare between environment > variables e.g.: > {code:java} > <activation> > <property> > <name>env.FOO</name> > <value>${env.BAR}</value> > </property> > </activation>{code} > Limiting the interpolation to user/system properties means that there is no > mindf*ck resulting from profile activation order, etc., and keeps this > request nonthreatening. -- This message was sent by Atlassian Jira (v8.20.10#820010)