Skip to content

[MSHARED-1454] Conflict Data on VerboseDependencyNode is hidden #105

@jira-importer

Description

@jira-importer

Elias Lundell opened MSHARED-1454 and commented

In maven-dependency-plugin there are multiple export formats for the dependency tree, these include Json, DOT, GraphML etc. When creating the normal tree all information is there to format it nicely as e.g. Json. However, when running ``{}mvn dependency:tree -Dverbose{}, all nodes are included (as they are VerboseDependencyNode) but since VerboseDependencyNode is internal in maven-dependency-tree there is no (clean) way to include information of which nodes are included or not (see https://issues.apache.org/jira/browse/MDEP-962).

The only current way to include this information would be to parse the ``{}toNodeString(){} output (where excluded nodes are wrapped in parenthesis).

I propose to expose ConflictData on the DependencyNode and make it null for DefaultDependencyNode to allow for more detailed information in the machine-readable formats.


Remote Links:

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpriority:minorMinor loss of function, or other problem where easy workaround is present

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions