[MENFORCER-466] Apply the all levels scope and optional selectors on RequireUpperBoundDeps by andrzejj0 · Pull Request #254 · apache/maven-enforcer (original) (raw)

Summary

I have corrected the test checking scope provided for require upper bound deps. It wasn't checking anything. I have enhanced the test to check for actual upper deps for both required and optional.

Applied selectors checking for optional and scoped dependencies on all levels (that is, also including direct) for RequireUpperBoundDeps.

ASF rules

Following this checklist to help us incorporate your
contribution quickly and easily:

If your pull request is about ~20 lines of code you don't need to sign an
Individual Contributor License Agreement if you are unsure
please ask on the developers list.

To make clear that you license your contribution under
the Apache License Version 2.0, January 2004
you have to acknowledge this by using the following check-box.