Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-1361

Improve the message when the version is missing from a dependency

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.1
    • None
    • None

    Description

      When using a dependencyManagement element it's not easy to tell which dependency element in the current POM actually has the problem because we get a message like the following:

      Project ID: org.apache.geronimo.specs:j2ee
      POM Location: /home/jvanzyl/js/org/apache/geronimo/specs/trunk/j2ee/pom.xml
      Validation Messages:

      [0] 'dependencies.dependency.version' is missing.
      [1] 'dependencies.dependency.version' is missing.
      [2] 'dependencies.dependency.version' is missing.
      [3] 'dependencies.dependency.version' is missing.
      [4] 'dependencies.dependency.version' is missing.

      Would be nice if it also displayed the standard g:a so you can tell what it's referring to.

      Attachments

        Issue Links

          Activity

            People

              jvanzyl Jason van Zyl
              jvanzyl Jason van Zyl
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: