Uploaded image for project: 'Maven Dependency Plugin'
  1. Maven Dependency Plugin
  2. MDEP-435

improve mvn dependency:tree - add optional xml output of the results

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: In Progress
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: tree
    • Labels:
    • Environment:
      all

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              knunkler Kow Unk

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 10m
                10m

                  Issue deployment