дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-08 19:02:17 +02:00
Maven sync ran a plain `dependency:tree`, which drops the nodes Maven omits (conflict losers, duplicates), so there was no data to show where a conflict comes from. Sync now runs `maven-dependency-plugin:3.8.1:tree -Dverbose` (the project's own plugin version when offline) and records omitted / conflictWith / managedFrom per node; omitted nodes stay out of the Maven tool window and External Libraries, and older caches are marked stale. The new Dependency Analyzer (Maven toolbar, module / Dependencies node menus, pom.xml menus, Find Action) lists a module's resolved artifacts or tree with conflict markers, search and scope filters, and every path to the selected artifact with its status. Exclude writes an `<exclusion>` into the declaring pom (module or in-project parent), keeping indentation and line endings, then reloads; Jump to Source and Copy Coordinates are on each path. Gradle is not covered yet. Fixes #87 Claude-Session: https://claude.ai/code/session_01VUYsdXA2nkF5v6zsC93dpn
25 рядки
1.6 KiB
Plaintext
25 рядки
1.6 KiB
Plaintext
[INFO] --- dependency:3.8.1:tree (default-cli) @ conflict-demo ---
|
|
[INFO] demo:conflict-demo:jar:1.0-SNAPSHOT
|
|
[INFO] +- org.hamcrest:hamcrest-core:jar:1.3:compile
|
|
[INFO] +- org.apache.commons:commons-text:jar:1.10.0:compile
|
|
[INFO] | \- org.apache.commons:commons-lang3:jar:3.12.0:compile
|
|
[INFO] +- org.apache.commons:commons-configuration2:jar:2.10.1:compile
|
|
[INFO] | +- (org.apache.commons:commons-lang3:jar:3.14.0:compile - omitted for conflict with 3.12.0)
|
|
[INFO] | +- (org.apache.commons:commons-text:jar:1.11.0:compile - omitted for conflict with 1.10.0)
|
|
[INFO] | \- commons-logging:commons-logging:jar:1.2:compile (version managed from 1.3.0)
|
|
[INFO] +- com.google.guava:guava:jar:32.1.3-jre:compile
|
|
[INFO] | +- com.google.guava:failureaccess:jar:1.0.1:compile
|
|
[INFO] | +- com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:compile
|
|
[INFO] | +- com.google.code.findbugs:jsr305:jar:3.0.2:compile
|
|
[INFO] | +- org.checkerframework:checker-qual:jar:3.37.0:compile
|
|
[INFO] | +- com.google.errorprone:error_prone_annotations:jar:2.21.1:compile
|
|
[INFO] | \- com.google.j2objc:j2objc-annotations:jar:2.8:compile
|
|
[INFO] +- com.google.inject:guice:jar:5.1.0:compile
|
|
[INFO] | +- javax.inject:javax.inject:jar:1:compile
|
|
[INFO] | +- aopalliance:aopalliance:jar:1.0:compile
|
|
[INFO] | \- (com.google.guava:guava:jar:30.1-jre:compile - omitted for conflict with 32.1.3-jre)
|
|
[INFO] \- junit:junit:jar:4.13.2:test
|
|
[INFO] \- (org.hamcrest:hamcrest-core:jar:1.3:test - omitted for duplicate)
|
|
[INFO] ------------------------------------------------------------------------
|
|
[INFO] BUILD SUCCESS
|