-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Add cross-repo Maven library dependency links #440
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestparsing/qualityGraph extraction bugs, false positives, missing edgesGraph extraction bugs, false positives, missing edgespriority/normalStandard review queue; useful PR with ordinary maintainer urgency.Standard review queue; useful PR with ordinary maintainer urgency.
Milestone
Description
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestparsing/qualityGraph extraction bugs, false positives, missing edgesGraph extraction bugs, false positives, missing edgespriority/normalStandard review queue; useful PR with ordinary maintainer urgency.Standard review queue; useful PR with ordinary maintainer urgency.
Problem
cross-repo-intelligencecurrently links services through HTTP/async/channel style edges, but it does not expose cross-repo library dependency relationships. In a multi-repo Maven platform this makes it hard to answer questions like:This came up while indexing independent repositories into the same
CBM_CACHE_DIR; the desired relationship is library usage, not just HTTP calls.Proposed behavior
When
index_repositoryruns incross-repo-intelligencemode, it should also match Maven artifacts across indexed projects:pom.xmlfiles for the source project<dependencies>blockspom.xmlfiles for target projectsSuggested edge types:
CROSS_LIBRARY_DEPENDS_ONin the consumer/source projectCROSS_LIBRARY_USED_BYin the provider/target projectThe output summary and architecture cross-repo summary should include these new edge types.
Scope
This issue is intentionally scoped to Maven
pom.xmlsupport. Gradle, npm, Go modules, Python packages, and richer code-level import-to-artifact resolution can be separate follow-up issues.Tests
Add focused regression tests that build temporary provider/consumer projects with neutral Maven coordinates and assert library edge creation, valid JSON edge properties, and no false positives from dependency-management-only declarations.