You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benson Margulies (JIRA)" <ji...@codehaus.org> on 2014/01/13 17:21:49 UTC

[jira] (MNG-3879) Dependency map and documentation

    [ https://jira.codehaus.org/browse/MNG-3879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=338618#comment-338618 ] 

Benson Margulies commented on MNG-3879:
---------------------------------------

I don't think it's ever a good idea to capture comments in a data model. As folks are fond of pointing out, many, many, tools read and write poms, and they are unlikely to be dependable in treating comments as data. I think this would be more or less an abuse of XML.


                
> Dependency map and documentation
> --------------------------------
>
>                 Key: MNG-3879
>                 URL: https://jira.codehaus.org/browse/MNG-3879
>             Project: Maven 2 & 3
>          Issue Type: New Feature
>          Components: Dependencies
>    Affects Versions: 2.0.9
>            Reporter: Benson Margulies
>             Fix For: 3.2
>
>
> This JIRA proposes a feature. I'm willing to try to contribute it given a modicum of encouragement and guidance.
> Over at CXF, we get many questions from users who are completely confounded by the complex dependency graph that results from our many dependencies and their many dependencies. I think that they would be less confused by far if maven gave them a tiny bit of help.
> The first part of the idea requires an addition to the core POM, which is why I'm starting with a JIRA here. I propose to add an 'explanation' element to the dependency element. This would contain a human-readable string explaining why the dependency is here.
> The second part is a goal that I would propose to call 'dependency-map'. This would produce a formatted map of the dependency tree -- enriched, of course, by the comments in the first part.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira