cstamas commented on PR #1178: URL: https://github.com/apache/maven/pull/1178#issuecomment-1602674746
From test-arq-suite branch JUnit4 ()locally build maven-3.9.x this PR + master shrinkwap-resolver + test-arg-suite: ``` [DEBUG] junit:junit:jar:4.13.2:test [DEBUG] org.hamcrest:hamcrest-core:jar:2.2:test (scope managed from compile) (version managed from 1.3) [DEBUG] org.hamcrest:hamcrest:jar:2.2:test (scope managed from compile) (version managed from 2.2) ``` So, what happens, is that by placing hamcrest BEFORE junit in depMgt, the hamcrest will "overrule" the 1.3 from junit, and 2.2 (empty hjar) depends on hamcrest:jar 2.2, so all good. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
