Uploaded image for project: 'Maven Shared Components'
  1. Maven Shared Components
  2. MSHARED-632

Expose which dependency classes are used and where

    XMLWordPrintableJSON

Details

    Description

      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 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.

      Attachments

        Issue Links

          Activity

            People

              slachiewicz Sylwester Lachiewicz
              jhaber Jonathan Haber
              Votes:
              4 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: