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

        

Reply via email to