[
https://issues.apache.org/jira/browse/MDEP-435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17923084#comment-17923084
]
ASF GitHub Bot commented on MDEP-435:
-------------------------------------
elharo commented on code in PR #24:
URL:
https://github.com/apache/maven-dependency-plugin/pull/24#discussion_r380640977
##########
src/main/java/org/apache/maven/plugins/dependency/tree/TreeMojo.java:
##########
@@ -107,8 +107,14 @@
/**
* If specified, this parameter will cause the dependency tree to be
written using the specified format. Currently
Review Comment:
will cause --> causes (tech writing lives in the eternal present)
> improve mvn dependency:tree - add optional xml output of the results
> --------------------------------------------------------------------
>
> Key: MDEP-435
> URL: https://issues.apache.org/jira/browse/MDEP-435
> Project: Maven Dependency Plugin
> Issue Type: New Feature
> Components: tree
> Environment: all
> Reporter: Kow Unk
> Priority: Major
> Labels: close-pending
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The output of mvn dependency:tree would be more useful to me if it was in a
> format that is machine readable. I would like to create some tooling to be
> able to easily determine what is causing a particular jar to be included.
> for example:
> >mymvntool -why org.springframework:org.springframework.beans:3.0.5
> org.springframework.beans-3.0.5 is being *dragged* in by:
> my.otherproject.core:1.1
> %end of search
> another use:
> >mymvntool -makeexclusionfor
> >org.springframework:org.springframework.beans:3.0.5
> <exclusions>
> <exclusion>
> <groupId>org.springframework</groupId>
> <artifactId>org.springframework.beans</artifactId>
> <exclusion>
> </exclusions>
> or even:
> >mymvntool -makeexclusionfor org.springframework:*:3.0.5
> this would pickup all the included jars in the project and build exclusions
> for them.
> It may have been dumb to pick spring as the exclusion resource, but this is
> just an example. having xml output would be valuable to me and probably
> others too.
> -K
--
This message was sent by Atlassian Jira
(v8.20.10#820010)