helidon-io / helidon

Java libraries for writing microservices
https://helidon.io
Apache License 2.0
3.51k stars 566 forks source link

4.x: archetypes generate duplicated dependencies #7811

Closed romain-grecourt closed 1 year ago

romain-grecourt commented 1 year ago

Environment Details


Description

[WARNING] 
[WARNING] Some problems were encountered while building the effective model for me.rgrecour-helidon:quickstart-se:jar:1.0-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: io.helidon.logging:helidon-logging-jul:jar -> duplicate declaration of version (?) @ line 46, column 21
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: io.helidon.logging:helidon-logging-jul:jar -> duplicate declaration of version (?) @ line 59, column 21
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: io.helidon.logging:helidon-logging-jul:jar -> duplicate declaration of version (?) @ line 73, column 21
[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] 
romain-grecourt commented 1 year ago

There are other duplicates, see some findings from the latest pipeline output:

 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: io.helidon.config:helidon-config-yaml:jar
 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: io.helidon.dbclient:helidon-dbclient-mongodb:jar
 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: io.helidon.http.media:helidon-http-media-jsonb:jar
 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: io.helidon.http.media:helidon-http-media-jsonp:jar
 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: io.helidon.logging:helidon-logging-jul:jar
 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: io.helidon.microprofile.metrics:helidon-microprofile-metrics:jar
 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: io.helidon.webserver.observe:helidon-webserver-observe-health:jar
 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: jakarta.json:jakarta.json-api:jar
 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: jakarta.xml.bind:jakarta.xml.bind-api:jar