trivy icon indicating copy to clipboard operation
trivy copied to clipboard

feat(java): add support of `test` scope for `pom.xml` files

Open DmitriyLewen opened this issue 1 year ago • 6 comments

Description

We added support of test scope. but we were forced to roll back these changes (see #7488).

This PR adds support of test scope. Also this PR takes into account the problem with child dependencies of a test dependency(mark test deps and children of this dependency as Dev).

Blocker PR

  • [ ] #7484. We should merge this PR first to avoid issues with long pom.xml file scan times. (see https://github.com/aquasecurity/trivy/issues/7476#issue-2515513199).

Checklist

  • [x] I've read the guidelines for contributing to this repository.
  • [x] I've followed the conventions in the PR title.
  • [x] I've added tests that prove my fix is effective or that my feature works.
  • [ ] I've updated the documentation with the relevant information (if needed).
  • [ ] I've added usage information (if the PR introduces new options)
  • [ ] I've included a "before" and "after" example to the description (if the PR is a user interface change).

DmitriyLewen avatar Sep 11 '24 09:09 DmitriyLewen

This PR is stale because it has been labeled with inactivity.

github-actions[bot] avatar Nov 13 '24 00:11 github-actions[bot]

This PR is stale because it has been labeled with inactivity.

github-actions[bot] avatar Jan 13 '25 00:01 github-actions[bot]

This PR is stale because it has been labeled with inactivity.

github-actions[bot] avatar Mar 15 '25 00:03 github-actions[bot]

This PR is stale because it has been labeled with inactivity.

github-actions[bot] avatar May 17 '25 00:05 github-actions[bot]

This PR is stale because it has been labeled with inactivity.

github-actions[bot] avatar Jul 19 '25 00:07 github-actions[bot]

This PR is stale because it has been labeled with inactivity.

github-actions[bot] avatar Oct 18 '25 00:10 github-actions[bot]

This PR is stale because it has been labeled with inactivity.

github-actions[bot] avatar Dec 20 '25 00:12 github-actions[bot]