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