Skip to content

Fix profile property interpolation in repository URLs#11923

Closed
utafrali wants to merge 1 commit intoapache:masterfrom
utafrali:fix/issue-11920-profile-scoped-properties-not-interpolat
Closed

Fix profile property interpolation in repository URLs#11923
utafrali wants to merge 1 commit intoapache:masterfrom
utafrali:fix/issue-11920-profile-scoped-properties-not-interpolat

Conversation

@utafrali
Copy link
Copy Markdown

Profile-scoped properties weren't getting interpolated in repository URLs. The validator was checking for unresolved expressions before profile properties were injected, which caused it to reject valid property references.

Added a skipExpressionValidation flag so profile repositories can skip the expression check since property injection happens later in the process. Regular repos and distribution management still validate strictly. Includes a test case and verified with mvn verify locally.

Profile properties are injected after model validation, so skip
expression validation for profile repository URLs to allow deferred
property interpolation.
@utafrali
Copy link
Copy Markdown
Author

closing, lmk if you want me to reopen with changes

@utafrali utafrali closed this Apr 15, 2026
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.

1 participant