You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Sylwester Lachiewicz (Jira)" <ji...@apache.org> on 2020/12/31 09:06:00 UTC

[jira] [Commented] (MENFORCER-313) requireUpperBoundDeps: add [] and colors to the output

    [ https://issues.apache.org/jira/browse/MENFORCER-313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17256904#comment-17256904 ] 

Sylwester Lachiewicz commented on MENFORCER-313:
------------------------------------------------

Done in [bd993c2e3a6f9063e5a0b4f99497f08e58864f56|https://gitbox.apache.org/repos/asf?p=maven-enforcer.git;a=commit;h=bd993c2e3a6f9063e5a0b4f99497f08e58864f56]

> requireUpperBoundDeps: add [<scope>] and colors to the output
> -------------------------------------------------------------
>
>                 Key: MENFORCER-313
>                 URL: https://issues.apache.org/jira/browse/MENFORCER-313
>             Project: Maven Enforcer Plugin
>          Issue Type: Improvement
>          Components: Standard Rules
>    Affects Versions: 3.0.0-M2
>            Reporter: Gabriel Belingueres
>            Assignee: Sylwester Lachiewicz
>            Priority: Minor
>              Labels: up-for-grabs
>             Fix For: 3.0.0-M4
>
>         Attachments: eclipse-output.png, output.txt
>
>
> 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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)