Uploaded image for project: 'Maven Project Web Site'
  1. Maven Project Web Site
  2. MNGSITE-460

The page "Introduction to the Dependency Mechanism" shows deprecated practices

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None

    Description

      Page URL: https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html

      The section "Bill of Materials" explains that one should use some properties to define submodules versions (e.g., project1Version). Defining versions this way lead to publish pom files with $variable in in their <version>. This a bad practice that Maven warns about during builds. I think this should not be advocated in an introduction guide. AFAICT, the "standard" way for handling a bom setup is to have all modules inheriting their versions from the parent pom.

      If one committer is willing to point me where the code of this guide is stored, I may be able to submit a patch. 

      Attachments

        Activity

          People

            Unassigned Unassigned
            mikael.barbero Mikaël Barbero
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: