Skip to content

Maven coordinates resolved incorrectly #165

@bpfoster

Description

@bpfoster

I have a project that (transitively) depends on org.springframework.data:spring-data-commons:jar:3.0.0.

Running trivy fs on my pom file appears to incorrectly resolve its maven coordinates:

DEBUG	Resolving org.springframework.data.build:spring-data-commons:3.0.0...
DEBUG	org.springframework.data.build:spring-data-commons:3.0.0 was not found in local/remote repositories

spring-data-commons' parent is org.springframework.data.build:spring-data-parent:3.0.0, so it appears that the logic that's applying the parent inheritance is incorrectly assigning the child groupId to the parent's groupId.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions