Skip to content

Fix #12085: regression tests for version inheritance from remote parent#12090

Merged
gnodet merged 1 commit into
masterfrom
abrasive-surprise
May 19, 2026
Merged

Fix #12085: regression tests for version inheritance from remote parent#12090
gnodet merged 1 commit into
masterfrom
abrasive-surprise

Conversation

@gnodet
Copy link
Copy Markdown
Contributor

@gnodet gnodet commented May 18, 2026

Summary

Test plan

  • testVersionInheritedFromRemoteParent — single-project build inheriting version from remote parent with different groupId
  • testVersionInheritedFromRemoteParentMultiModule — multi-module build with child inheriting version from remote parent
  • Both tests verify: version inherited correctly, artifact non-null, artifact version matches, groupId from child POM
  • Test parent POM includes profile with uninterpolated repository expressions to verify filtering

🤖 Generated with Claude Code

…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 merged commit 9450f6e into master May 19, 2026
24 checks passed
@gnodet gnodet deleted the abrasive-surprise branch May 19, 2026 13:33
@github-actions
Copy link
Copy Markdown

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

@github-actions github-actions Bot added this to the 4.1.0 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.

2 participants