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

requireUpperBoundDeps: add [<scope>] and colors to the output

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0.0-M2
    • 3.0.0
    • Standard Rules

    Description

      Hi:

      I checked the very maven-enforcer project using the new CLI functionality:

      mvn org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-SNAPSHOT:enforce -Drules=requireUpperBoundDeps

      and found out there is a conflicting library (org.codehaus.plexus:plexus-container-default). See output.txt.

      The tricky thing is that is it a transitive dependency, one with scope "compile", the other is scope "test" (which are not shown in the output). In contrast, Eclipse shows the scope and shaded fonts for the libraries with test scope (see screenshot image), which provide an easier reading.

      Regards,

      Gabriel

      Attachments

        1. output.txt
          4 kB
          Gabriel Belingueres
        2. eclipse-output.png
          80 kB
          Gabriel Belingueres

        Issue Links

          Activity

            People

              slachiewicz Sylwester Lachiewicz
              belingueres Gabriel Belingueres
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: