krasa / MavenHelper

IntelliJ plugin - https://plugins.jetbrains.com/plugin/7179
Apache License 2.0
253 stars 91 forks source link

Conflicting relationships between different language versions of the same package name are not recognized. #108

Closed Tiakon closed 1 year ago

Tiakon commented 1 year ago

Describe the bug

A dependency compiled in different language versions of the same package name cannot be identified as a conflicting dependency.

To Reproduce Steps to reproduce the behavior:

The project dependency structure is as follows:

project1

project2

image

Expected behavior In this case, I understand that json4s-scalap_2.13:3.6.6 and json4s-scalap_2.11:3.7.0-M11 should be identified as conflicting dependencies, but this is not the case.

krasa commented 1 year ago

That would be tough. Isn't scala-library conflict enough? image

Tiakon commented 1 year ago

@krasa This is different from the project dependencies I showed. In the project dependencies I showed, the conflict relationships are not shown. It's hard, but it does happen.

image

What I mean is that the conflict relationship of the scala class library is not displayed in the conflict option. Only visible across all dependencies, this can easily be overlooked.

krasa commented 1 year ago

but in the end, you still see that scala-library is conflicting and all those libraries in the right column, yes?

Tiakon commented 1 year ago

Yes, so I rely too much on plug-ins. 😂 😂 😂