Skip to content

Resolve Maven versions from parent poms elsewhere in the repo - #184

Closed
Ibrahimrahhal wants to merge 1 commit into
mainfrom
cursor/maven-parent-pom-resolution-57dd
Closed

Ibrahimrahhal wants to merge 1 commit into
mainfrom
cursor/maven-parent-pom-resolution-57dd

Conversation

@Ibrahimrahhal

@Ibrahimrahhal Ibrahimrahhal commented Oct 5, 2026 •

Copy link
Copy Markdown
Member

No description provided.

… poms

A child pom whose <parent> lives elsewhere in the scanned tree (not at
../pom.xml) left ${...} versions from the parent's <properties> unresolved,
so the dependency had no version or purl. Index every pom.xml in the scan
by coordinates and walk the parent chain (relativePath first, then exact
groupId:artifactId:version), inheriting properties and managed versions
with nearer poms taking precedence.

Co-authored-by: Ibrahim Rahhal <ibrahim.rahhal3636@gmail.com>
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