elharo commented on PR #143:
URL: 
https://github.com/apache/maven-shared-utils/pull/143#issuecomment-1554997552

   See https://hamcrest.org/JavaHamcrest/distributables for the detailed 
explanation.
   
   This is a weird case that crops up when using JUnit 4 with Hamcrest 2 
because Hamcrest moved classes around between artifacts in version 2. Without 
this JUnit 4 will pull hamcrest-core 1.4.x into the tree, which contains some 
of the same classes as org.hamcrest:hamcrest:2.2. This can cause split package 
issues. In 2.2 hamcrest-core is an empty jar to override this. 


-- 
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: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to