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

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

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.0.0-M2
    • Fix Version/s: None
    • Component/s: Standard Rules
    • Labels:

      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

              • Assignee:
                Unassigned
                Reporter:
                belingueres Gabriel Belingueres
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: