jfrog / build-info

Artifactory's open integration layer for CI build servers
https://www.buildinfo.org
Apache License 2.0
147 stars 155 forks source link

Allow excluding dependencies by scope from build info #738

Open markrekveld opened 1 year ago

markrekveld commented 1 year ago

This PR adds the dependencyScopeExcludes option that allows to exclude dependencies from the generated buildInfo json file if configured.

The main reasoning behind this change is dat in some cases you have no control over the dependencies that are provided where ever your software is deployed in, but still want to use the goodness of the JFrog Platform without to much work then excluding the dependencies saves time, especially in Xray since it doesn't have an option to exclude dependencies by scope.