maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikaël Barbero (Jira) <j...@apache.org>
Subject [jira] [Created] (MNG-6989) The page "Introduction to the Dependency Mechanism" shows deprecated practices
Date Tue, 15 Sep 2020 07:13:00 GMT
Mikaël Barbero created MNG-6989:
-----------------------------------

             Summary: The page "Introduction to the Dependency Mechanism" shows deprecated
practices
                 Key: MNG-6989
                 URL: https://issues.apache.org/jira/browse/MNG-6989
             Project: Maven
          Issue Type: Bug
          Components: Documentation: Introductions
    Affects Versions: 3.6.3
            Reporter: Mikaël Barbero


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

The section "[Bill of Materials|https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#bill-of-materials-bom-poms]"
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. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message