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

Fixes mojohaus#123: add scope filtering #915

Merged
merged 1 commit into from
Feb 12, 2023

Conversation

vboulaye
Copy link
Contributor

@vboulaye vboulaye commented Feb 1, 2023

This implements one of the features requested in #123 : filtering of artifacts based on their scope.

It adds a scope property to the plugin configuration.
When this is set, only artifacts matching this scope (or ones implied in the maven scope hierarchy) are included.

I made a test for the compare-dependencies goal as it is here that I intend to use it, but it applies to all the goals.
My need it to run comparison only on compile dependencies (excluding the tests one that are included in the comparison by default)

(I tried this PR a long time ago as #334 but it went stale and I did not follow up on it at the time)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

compare-dependencies goal improvements
2 participants