You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Rex Hoffman (JIRA)" <ji...@codehaus.org> on 2010/11/02 20:47:03 UTC

[jira] Created: (MENFORCER-109) Error in logged output message from dependency-convergence rule, make the rule less usable

Error in logged output message from dependency-convergence rule, make the rule less usable
------------------------------------------------------------------------------------------

                 Key: MENFORCER-109
                 URL: http://jira.codehaus.org/browse/MENFORCER-109
             Project: Maven 2.x Enforcer Plugin
          Issue Type: Bug
          Components: Standard Rules
    Affects Versions: 1.0
         Environment: all
            Reporter: Rex Hoffman
         Attachments: fix_output_message.txt

The error message showing the path to the failed dependency convergence only prints the the leaf node artifact name at each level of message, instead of the nodes leading to the dependency.

Nodes paths that did not converge would be printed like this:
+-org.slf4j:slf4j-api1.6.0
  +-org.slf4j:slf4j-api1.6.0
    +-org.slf4j:slf4j-api1.6.0

Instead of like this:
+-org.myorg:my-project:1.0.0-SNAPSHOT
  +-org.slf4j:slf4j-nop:1.6.0
    +-org.slf4j:slf4j-api:1.6.0


assuming I must have submitted the patch with this bug... 

Here is a fix, which cleans up the output message, and updates the site to show a correct example.  This is a tiny fix, and I would like to see it in before the 1.0 release.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (MENFORCER-109) Error in logged output message from dependency-convergence rule, make the rule less usable

Posted by "Brian Fox (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MENFORCER-109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Fox closed MENFORCER-109.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0

> Error in logged output message from dependency-convergence rule, make the rule less usable
> ------------------------------------------------------------------------------------------
>
>                 Key: MENFORCER-109
>                 URL: http://jira.codehaus.org/browse/MENFORCER-109
>             Project: Maven 2.x Enforcer Plugin
>          Issue Type: Bug
>          Components: Standard Rules
>    Affects Versions: 1.0
>         Environment: all
>            Reporter: Rex Hoffman
>             Fix For: 1.0
>
>         Attachments: fix_output_message.txt
>
>
> The error message showing the path to the failed dependency convergence only prints the the leaf node artifact name at each level of message, instead of the nodes leading to the dependency.
> Nodes paths that did not converge would be printed like this:
> +-org.slf4j:slf4j-api1.6.0
>   +-org.slf4j:slf4j-api1.6.0
>     +-org.slf4j:slf4j-api1.6.0
> Instead of like this:
> +-org.myorg:my-project:1.0.0-SNAPSHOT
>   +-org.slf4j:slf4j-nop:1.6.0
>     +-org.slf4j:slf4j-api:1.6.0
> assuming I must have submitted the patch with this bug... 
> Here is a fix, which cleans up the output message, and updates the site to show a correct example.  This is a tiny fix, and I would like to see it in before the 1.0 release.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira