Skip to content

test(manifest): key Maven repo-inheritance roots by project id - #1594

Merged
Jeppe Fredsgaard Blaabjerg (jfblaa) merged 1 commit into
v1.xfrom
jfblaa/fix-maven-repo-inheritance-assertion
Oct 9, 2026
Merged

Jeppe Fredsgaard Blaabjerg (jfblaa) merged 1 commit into
v1.xfrom
jfblaa/fix-maven-repo-inheritance-assertion

Conversation

@jfblaa

@jfblaa Jeppe Fredsgaard Blaabjerg (jfblaa) commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

LLM Description written by Claude Code:claude-opus-5-5

The Maven repo-inheritance compat smoke test failed on every Maven version: it matched root records by bare module name (liba), but since #1591 project records are keyed group:artifact:version (demo:liba:1.0). The extension's output was already correct (widget resolved via liba's repository, the liba -> widget edge present in libb's root, jar materialized); only the assertion was stale.

Verified with run-compat.sh all: every Gradle and Maven row passes, including repo-inheritance on Maven 3.2.5 through 4.0.0-rc-6. This change doesn't touch sbt, and all sbt rows pass when run directly.

🤖 Generated with Claude Code


Note

Low Risk
Test-only assertion updates with no runtime or extension code changes.

Overview
Fixes the Maven repo-inheritance compat smoke test so it keys root records the same way as the extension after #1591: full Maven coordinates (demo:liba:1.0, demo:libb:1.0) instead of bare module names (liba, libb).

Adds a LIBB constant alongside existing LIBA/WIDGET and uses those IDs in the root lookup loop and the libb → liba → widget edge assertion. No production or extension behavior changes—only the test expectations were stale while the emitted records were already correct.

Reviewed by Cursor Bugbot for commit 23e6846. Configure here.

Project records are keyed group:artifact:version since each JVM build
project got its own id, so matching roots by bare module name found
none and the smoke test failed on every Maven version.
@jfblaa
Jeppe Fredsgaard Blaabjerg (jfblaa) merged commit c1f7c35 into v1.x Oct 9, 2026
11 checks passed
@jfblaa
Jeppe Fredsgaard Blaabjerg (jfblaa) deleted the jfblaa/fix-maven-repo-inheritance-assertion branch October 9, 2026 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants