Skip to content

[MNG-8081] Profile property activation interpolation#1477

Closed
cstamas wants to merge 4 commits intoapache:maven-3.9.xfrom
cstamas:maven-3.9.x-MNG-8081
Closed

[MNG-8081] Profile property activation interpolation#1477
cstamas wants to merge 4 commits intoapache:maven-3.9.xfrom
cstamas:maven-3.9.x-MNG-8081

Conversation

@cstamas
Copy link
Copy Markdown
Member

@cstamas cstamas commented Apr 21, 2024

Property profile activation should interpolate.


https://issues.apache.org/jira/browse/MNG-8081

@cstamas cstamas self-assigned this Apr 21, 2024
Copy link
Copy Markdown
Member

@slawekjaranowski slawekjaranowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks ok

@mbenson
Copy link
Copy Markdown
Contributor

mbenson commented Apr 22, 2024

I notice that this implementation only interpolates properties in property activations, whereas my submitted implementations for both v3.9.x and v4 attempt to satisfy the "least surprise" principle by applying interpolations to all properties among every profile activation type. IMHO that's the best way forward but I am satisfied if this PR becomes the 3.9.x implementation.

@cstamas
Copy link
Copy Markdown
Member Author

cstamas commented Apr 22, 2024

@mbenson can you clarify what you mean by "only [...] property activations" vs "all property activations" as I think don't understand it fully wdym here...

@mbenson
Copy link
Copy Markdown
Contributor

mbenson commented Apr 22, 2024

Sorry @cstamas, was working late and apparently not 100%. Edited my comment with changed text in bold.

Further context: there are system/user/project (in your implementation) properties, and then there are properties of the objects comprising the project model. So an activation has properties whose (string) values may be interpolated from the "environmental" properties. Does that help?

@gnodet
Copy link
Copy Markdown
Contributor

gnodet commented Apr 25, 2024

Duplicates #1447

@gnodet gnodet closed this Apr 25, 2024
@cstamas cstamas deleted the maven-3.9.x-MNG-8081 branch April 26, 2024 06:46
@jira-importer
Copy link
Copy Markdown

Resolve #10796

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants