Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug(pom): Trivy doesn't overwrite version from depManagement if dependency uses project.groupId prop #8049

Closed
DmitriyLewen opened this issue Dec 5, 2024 Discussed in #8036 · 0 comments · Fixed by #8050
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug.
Milestone

Comments

@DmitriyLewen
Copy link
Contributor

Description

There are cases when dependency uses project.groupId property
e.g. https://repo1.maven.org/maven2/io/netty/netty-handler/4.1.114.Final/netty-handler-4.1.114.Final.pom :

<groupId>${project.groupId}</groupId>
<artifactId>netty-common</artifactId>
<version>${project.version}</version>

For this cases Trivy doesn't overwrite these dependencies.
See #8036 for example.

Discussed in #8036

@DmitriyLewen DmitriyLewen added the kind/bug Categorizes issue or PR as related to a bug. label Dec 5, 2024
@DmitriyLewen DmitriyLewen self-assigned this Dec 5, 2024
@DmitriyLewen DmitriyLewen added this to the v0.58.1 milestone Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
1 participant