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

dependency:tree's use of "version selected from constraint" is too verbose

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 2.5
    • None
    • None
    • None

    Description

      MDEP-339's fix increases the level of verbosity in the dependency tree to include the specified constraint as well as the actual version. In many builds, these will be identical.

      [INFO] |  +- commons-lang:commons-lang:jar:2.4:compile (scope managed from 2.4; version selected from constraint 2.4)
      

      The format change makes diffing the old and new versions difficult to see what behaviour has changed. In the case where the constraint is the same as the version it doesn't seem to add much information.

      I'd suggest omitting it when the version exactly matches the constraint.

      Attachments

        Activity

          People

            hboutemy Herve Boutemy
            joewalton Joseph Walton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: