Skip to content

[maven-4.0.x] Fix #11920: skip expression validation for profile repository URLs#12055

Open
gnodet wants to merge 1 commit into
maven-4.0.xfrom
backport/11920-4.0.x
Open

[maven-4.0.x] Fix #11920: skip expression validation for profile repository URLs#12055
gnodet wants to merge 1 commit into
maven-4.0.xfrom
backport/11920-4.0.x

Conversation

@gnodet
Copy link
Copy Markdown
Contributor

@gnodet gnodet commented May 14, 2026

Summary

Backport of #12047 to maven-4.0.x.

  • Skip uninterpolated expression validation for repository URLs and IDs inside profiles during raw model validation
  • Profile properties are injected after raw model validation, so expressions like ${asf.staging} or ${env.MAVEN_MIRROR_URL} defined in profile properties/activation cannot be resolved at this stage
  • Top-level repositories and distribution management repositories continue to be validated

Closes #11920

🤖 Generated with Claude Code

Claude Code on behalf of Guillaume Nodet

Profile properties are injected after raw model validation, so
expressions in profile repository URLs/IDs cannot be validated at
this stage. Skip the uninterpolated expression check for repositories
inside profiles to allow deferred property interpolation.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@hboutemy hboutemy added bug Something isn't working backport-to-4.0.x labels May 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-to-4.0.x bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants