[ 
https://issues.apache.org/jira/browse/MSHARED-632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16121914#comment-16121914
 ] 

Jonathan Haber commented on MSHARED-632:
----------------------------------------

Let me know if you have any thoughts on this feature or any questions about the 
code changes in the PR. I posted to the dev mailing list 2 months ago with a 
description of the feature and requesting feedback and the responses were 
positive:

[First 
response|http://mail-archives.apache.org/mod_mbox/maven-dev/201706.mbox/%3c20170614115527.4e25a...@copperhead.int.arc7.info%3E]
[Second 
response|http://mail-archives.apache.org/mod_mbox/maven-dev/201706.mbox/%3ccaaru9ib0mow1hb6emsefgrx2ojstewt9trcwtjb+hvxyaac...@mail.gmail.com%3E]

> Expose which dependency classes are used and where
> --------------------------------------------------
>
>                 Key: MSHARED-632
>                 URL: https://issues.apache.org/jira/browse/MSHARED-632
>             Project: Maven Shared Components
>          Issue Type: New Feature
>          Components: maven-dependency-analyzer
>            Reporter: Jonathan Haber
>            Priority: Minor
>
> We use the maven-dependency-plugin to analyze dependencies and fail our build 
> if there are any used undeclared or unused declared dependencies. In the case 
> of used undeclared dependencies, it is often helpful to know which classes 
> are being used and where they are being used. We've found a few workarounds 
> to make this a little easier, but the plugin has access to this information 
> so what we really want is for the plugin to just print this info along with 
> each used undeclared dependency. We've made this change in our fork and our 
> developers are very happy with it, so I'd like to contribute it back 
> ([here|https://gist.github.com/jhaber/d8204829fe61569e0034250df74300fb] is an 
> example of the output before and after the change).
> If you agree this is a useful feature, the first step is to update the 
> maven-dependency-analyzer to return this information so that the 
> maven-dependency-plugin can use it.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to