Uploaded image for project: 'Maven (Moved to GitHub Issues)'
  1. Maven (Moved to GitHub Issues)
  2. MNG-8712

improve dependency version explanation: it's a requirement, not always effective version

    XMLWordPrintableJSON

Details

    Description

      currently, POM documentation says for dependency version https://maven.apache.org/ref/3.9.9/maven-model/maven.html#class_dependency
      "The version of the dependency, e.g. 3.2.1. In Maven 2, this can also be specified as a range of versions."

      users don't get that it is a version requirement only: the effective version will be resolved based on usage context, as explained more in details in https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Transitive_Dependencies

      it's long overdue to clarify at POM level

      Attachments

        Activity

          People

            hboutemy Hervé Boutemy
            hboutemy Hervé Boutemy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: