spdx-maven-plugin icon indicating copy to clipboard operation
spdx-maven-plugin copied to clipboard

Add support for filtering dependency scopes

Open jaudriga opened this issue 1 year ago • 1 comments

AFAICS this plugin includes all dependencies that are defined in the pom.xml . For our use case it would be important to exclude test dependencies. Could that be added to the Plugin as well? Maybe I am overlooking something and it is actually already supported somehow?

Side-note: The CycloneDX Maven Plugin apparently supports this, see Default Values section in their README

jaudriga avatar Jun 06 '24 16:06 jaudriga

+1 on supporting this if it isn't already supported. I haven't looked at the code in a while, so I can't comment on if it is currently supported. In either case, a pull request which supports this feature and/or better documentation would be appreciated.

goneall avatar Jun 06 '24 18:06 goneall

Hi @goneall,

I made an attempt to solve this issue with pr #173.

Let me know what changes you require to approve this.

stgrace avatar Dec 11 '24 07:12 stgrace