Open DmitriyLewen opened 3 days ago
Dependencies without runtime, native, or runtimeTargets sections in target section don't used in runtime. To avoid confusion when skipping these dependencies - we will mark them as Dev and skip them by default (same as for the maven-invoker-plugin).
runtime
native
runtimeTargets
target
Dev
Read https://github.com/aquasecurity/trivy/discussions/4282#discussioncomment-8830365 and https://github.com/aquasecurity/trivy/pull/7039#discussion_r1657367758 for more details.
Description
Dependencies without
runtime
,native
, orruntimeTargets
sections intarget
section don't used in runtime. To avoid confusion when skipping these dependencies - we will mark them asDev
and skip them by default (same as for the maven-invoker-plugin).Read https://github.com/aquasecurity/trivy/discussions/4282#discussioncomment-8830365 and https://github.com/aquasecurity/trivy/pull/7039#discussion_r1657367758 for more details.
Discussed in https://github.com/aquasecurity/trivy/discussions/4282