vert-x3 / vertx-stack

Vert.x stack
Apache License 2.0
120 stars 48 forks source link

Detailed dependency path for DependencyConflictException #145

Closed oliver-brm closed 8 months ago

oliver-brm commented 8 months ago

Motivation:

See #73

VertxStacksTest will print something like the following when a DependencyConflictException occurs:

Note: In this case the conflicting artifacts io.vertx:vertx-web-templ-pug:4.4.8 and io.vertx:vertx-lang-kotlin:4.4.8 were chosen for the stack.

Conflict detected for artifact org.jetbrains:annotations:jar - version 15.0 was already selected by [io.vertx:vertx-web-templ-pug:jar:4.4.8] while io.vertx:vertx-lang-kotlin:jar:4.4.8 depends on version 13.0 - see the following chain:
io.vertx:vertx-lang-kotlin:jar:4.4.8
    \-- org.jetbrains.kotlin:kotlin-stdlib-jdk8:jar:1.7.21
        \-- org.jetbrains.kotlin:kotlin-stdlib:jar:1.7.21
            \-- org.jetbrains:annotations:jar:13.0
vietj commented 8 months ago

great work @oliver-brm can you backport to 4.x branch ?

oliver-brm commented 8 months ago

great work @oliver-brm can you backport to 4.x branch ?

Yup. I'll do it.