Skip to content

[maven-4.0.x] Fix #12085: regression tests for version inheritance from remote parent#12101

Merged
gnodet merged 1 commit into
maven-4.0.xfrom
backport-12090-to-4.0.x
May 19, 2026
Merged

[maven-4.0.x] Fix #12085: regression tests for version inheritance from remote parent#12101
gnodet merged 1 commit into
maven-4.0.xfrom
backport-12090-to-4.0.x

Conversation

@gnodet
Copy link
Copy Markdown
Contributor

@gnodet gnodet commented May 19, 2026

Backport of #12090 to maven-4.0.x.

Adds regression tests for version inheritance from remote parent POMs, covering both single-module and multi-module scenarios.

Claude Code on behalf of Guillaume Nodet

…parent

The issue reported a null root artifact error when building projects
that inherit version from a remote parent POM. Investigation showed
the actual cause was uninterpolated repository expressions leaking
through to the CollectRequest validator, which was already fixed by
commits 9332ad3 and cee3c33.

Add regression tests covering both single-project and multi-module
builds with version inherited from a remote parent POM (different
groupId, empty relativePath).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@gnodet gnodet added this to the 4.0.0-rc-6 milestone May 19, 2026
@gnodet gnodet merged commit f52d3ca into maven-4.0.x May 19, 2026
23 checks passed
@gnodet gnodet deleted the backport-12090-to-4.0.x branch May 19, 2026 13:36
@github-actions
Copy link
Copy Markdown

@gnodet Please assign appropriate label to PR according to the type of change.

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.

2 participants