/usr/share/maven-repo/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3.jar is in libhamcrest-java 1.3-5.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/share/maven-repo/org/hamcrest/hamcrest-library/1.3/../../../../../java/hamcrest-library-1.3.jar