Uploaded image for project: 'Maven Enforcer Plugin'
  1. Maven Enforcer Plugin
  2. MENFORCER-276

Allow ignoring dependency scopes in RequireUpperBoundDeps

    XMLWordPrintableJSON

Details

    Description

      We have recently adopted RequireUpperBoundDeps in the Jenkins project (https://github.com/jenkinsci/plugin-pom/pull/67). In order to implement it, jglick@netbeans.org added a support of ignoring particular dependencies in MENFORCER-273.

      Sometimes we declare dependencies between plugins for testing purposes (scope=test), and in such case RequireUpperBoundDeps fails the build if there is a test dependency conflicting with the main code. Although it may cause instability of tests (including false positive results), it does not really impact the distributable package in our case.

      I propose to add another option for filtering of dependency scopes.

      Attachments

        Issue Links

          Activity

            People

              sjaranowski Slawomir Jaranowski
              oleg_nenashev Oleg Nenashev
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: