Skip to content

Fix repository ID interpolation in Maven 4 - #11224

Merged
gnodet merged 1 commit into
apache:masterfrom
gnodet:fix-repository-id-interpolation-clean
Oct 9, 2025
Merged

gnodet merged 1 commit into
apache:masterfrom
gnodet:fix-repository-id-interpolation-clean

Conversation

@gnodet

@gnodet gnodet commented Oct 8, 2025

Copy link
Copy Markdown
Contributor

Repository IDs were not being interpolated while URLs were, causing issues when using expressions like repository.id in repository configurations.

This commit adds ID interpolation alongside URL interpolation and includes validation for uninterpolated expressions in repository IDs.

Fixes #11076

Repository IDs were not being interpolated while URLs were, causing
issues when using expressions like repository.id in repository
configurations.

This commit adds ID interpolation alongside URL interpolation and
includes validation for uninterpolated expressions in repository IDs.

Fixes apache#11076
@gnodet gnodet added bug Something isn't working backport-to-4.0.x labels Oct 8, 2025
@gnodet
gnodet merged commit c81df9d into apache:master Oct 9, 2025
36 of 38 checks passed
@gnodet

gnodet commented Oct 9, 2025

Copy link
Copy Markdown
Contributor Author

💚 All backports created successfully

Status Branch Result
✅ maven-4.0.x

Questions ?

Please refer to the Backport tool documentation

@github-actions github-actions Bot added this to the 4.1.0 milestone Oct 9, 2025
gnodet added a commit to gnodet/maven that referenced this pull request Oct 9, 2025
Repository IDs were not being interpolated while URLs were, causing
issues when using expressions like repository.id in repository
configurations.

This commit adds ID interpolation alongside URL interpolation and
includes validation for uninterpolated expressions in repository IDs.

Fixes apache#11076

(cherry picked from commit c81df9d)
gnodet added a commit that referenced this pull request Oct 9, 2025
Repository IDs were not being interpolated while URLs were, causing
issues when using expressions like repository.id in repository
configurations.

This commit adds ID interpolation alongside URL interpolation and
includes validation for uninterpolated expressions in repository IDs.

Fixes #11076

(cherry picked from commit c81df9d)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Usage ${parameter} in <pluginRepository> and <repository>is prohibited in Maven 4

2 participants