Skip to content

[MNG-8432] Add possibility to use BOM properties in child pom.xml #10196

Description

@jira-importer

Pavel_K opened MNG-8432 and commented

Currently, it is not possible to get BOM properties in child project. For example, if in child project you do:

<dependency>
     <groupId>com.company.bom</groupId>
     <artifactId>bom</artifactId>
     <version>1.0.0</version>
     <type>pom</type>
     <scope>import</scope>
 </dependency>

then you can't not use bom properties (dependency versions) in this child project.

For example, if you want to use maven-dependency-plugin then you need to add all dependency versions manually because otherwise you will get maven-dependency-plugin:3.8.1:copy failed: version can neither be null, empty nor blank.

This problem was also discussed on StackOverflow with 10K views

That's why I suggest to add possibility to use BOM properties in child pom.xml


Affects: 3.9.10

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions