Skip to content

Duplicate dependency flexmark-html2md-converter in micronaut-platform bom #2410

@tomdw

Description

@tomdw

Expected Behavior

No warning is shown in the maven build.

Actual Behaviour

When running a micronaut build on version 4.10.3 we get an error saying that the dependency flexmark-html2md-converter is not unique in the pom, and that there are 2 different version properties in there also:

[WARNING] Some problems were encountered while building the effective model for io.myproject:myproject:pom:0.2
[WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: com.vladsch.flexmark:flexmark-html2md-converter:jar -> version ${html2md.converter.version} vs ${flexmark.version} @ io.micronaut.platform:micronaut-platform:4.10.3, /Users/myuser/.m2/repository/io/micronaut/platform/micronaut-platform/4.10.3/micronaut-platform-4.10.3.pom, line 3131, column 19
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 

Steps To Reproduce

Use micronaut-parent 4.10.3 on your project and build it using maven

Environment Information

No response

Example Application

No response

Version

4.10.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions