>here as "loser": Tamás, I must be missing something, however, I don't think I get 2.0.0 in the runtime. Frankly, I wasn't able to get "conflicts with..." in my output. Could you please clarify if you get 2.0.0 resolved in runtime somehow? (e.g. try with the newer code that includes classes to print the versions)
I've added classes to print the versions in runtime (see [1]), and I get only 1.0.0 versions in runtime for Maven 4. I tried ./mvnw -V eu.maveniverse.maven.plugins:toolbox:tree verify -Daether.conflictResolver.versionSelector.selectionStrategy=highest -DverboseTree Apache Maven 4.0.0-SNAPSHOT (8134db6f3c18ab2c68764a5ae05c9e08846b9787) [INFO] org.example:app:jar:1.0.0 (origin: central) [INFO] ├─org.example:lib-uses-v1:jar:1.0.0 [compile] (origin: central) [INFO] │ ╰─org.example:commons-compress:jar:1.0.0 [runtime] (origin: central) [INFO] ╰─org.example:lib-uses-v2:jar:2.0.0 [compile] (origin: central) [INFO] ╰─org.example:commons-compress-tar:jar:2.0.0 [runtime] (origin: central) [INFO] ╰─org.example:commons-compress-core:jar:2.0.0 [runtime] (origin: central) Note that Maven 4 uses only 1.0.0 versions in the runtime: [INFO] --- exec:3.5.1:java (default) @ app --- [INFO] Loaded 50 auto-discovered prefixes for remote repository ow2-snapshot (prefixes-ow2-snapshot-40669f8efefaadb4c1705a2585cefc8851f735ac.txt) [INFO] [stdout] lib-uses-v1: [INFO] [stdout] CoreVersion = 1.0.0 [INFO] [stdout] TarCompressor = 1.0.0 [INFO] [stdout] XzCompressor = 1.0.0 [INFO] [stdout] lib-uses-v2: [INFO] [stdout] CoreVersion = 1.0.0 [INFO] [stdout] TarCompressor = 1.0.0 [1] https://github.com/vlsi/jarsplit/commit/5e3fa1ecd3f26a2116aa83a92e85b69560a597f6 Vladimir
