Skip to content

[maven-4.0.x] Fix #12086: filter transitive repos and deps with uninterpolated expressions#12098

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

[maven-4.0.x] Fix #12086: filter transitive repos and deps with uninterpolated expressions#12098
gnodet wants to merge 1 commit into
maven-4.0.xfrom
backport-12088-to-4.0.x

Conversation

@gnodet
Copy link
Copy Markdown
Contributor

@gnodet gnodet commented May 19, 2026

Backport of #12088 to maven-4.0.x.

Fixes #12086: filters out transitive repositories and dependencies with uninterpolated ${...} expressions, preventing build failures caused by unresolved property references in transitive dependency POMs.

Claude Code on behalf of Guillaume Nodet

gnodet added a commit that referenced this pull request May 19, 2026
@gnodet gnodet force-pushed the backport-12088-to-4.0.x branch from 41016d4 to f662cf7 Compare May 19, 2026 11:26
@gnodet gnodet changed the title [maven-4.0.x] Fix #12086: filter transitive repos and deps with uninterpolated expressions [maven-4.0.x] Filter transitive dependencies with uninterpolated expressions May 19, 2026
@gnodet gnodet force-pushed the backport-12088-to-4.0.x branch from f662cf7 to 91c4ef0 Compare May 19, 2026 11:30
@gnodet gnodet changed the title [maven-4.0.x] Filter transitive dependencies with uninterpolated expressions [maven-4.0.x] Fix #12086: filter transitive repos and deps with uninterpolated expressions May 19, 2026
Extend the uninterpolated expression filtering to also cover
repositories from transitive dependency POMs. This prevents
build failures when a transitive dependency defines a repository
with a property expression (e.g., ${eclipseP2RepoId}) as its ID
that is only available in the original project context.

Cherry-picked and adapted from PR #12088 for the 4.0.x branch.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@gnodet gnodet force-pushed the backport-12088-to-4.0.x branch from 91c4ef0 to ca10579 Compare May 19, 2026 11:32
@gnodet gnodet added this to the 4.0.0-rc-6 milestone May 19, 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