/usr/share/maven-repo/org/hamcrest/ is in libhamcrest1.2-java 1.2-0ubuntu1.
This file is owned by root:root, with mode 0o755.
..
/usr/share/maven-repo/org/hamcrest/hamcrest-core/
/usr/share/maven-repo/org/hamcrest/hamcrest-core/1.2/
/usr/share/maven-repo/org/hamcrest/hamcrest-core/1.2/hamcrest-core-1.2.jar
/usr/share/maven-repo/org/hamcrest/hamcrest-core/1.2/hamcrest-core-1.2.pom
/usr/share/maven-repo/org/hamcrest/hamcrest-generator/
/usr/share/maven-repo/org/hamcrest/hamcrest-generator/1.2/
/usr/share/maven-repo/org/hamcrest/hamcrest-generator/1.2/hamcrest-generator-1.2.jar
/usr/share/maven-repo/org/hamcrest/hamcrest-generator/1.2/hamcrest-generator-1.2.pom
/usr/share/maven-repo/org/hamcrest/hamcrest-integration/
/usr/share/maven-repo/org/hamcrest/hamcrest-integration/1.2/
/usr/share/maven-repo/org/hamcrest/hamcrest-integration/1.2/hamcrest-integration-1.2.jar
/usr/share/maven-repo/org/hamcrest/hamcrest-integration/1.2/hamcrest-integration-1.2.pom
/usr/share/maven-repo/org/hamcrest/hamcrest-library/
/usr/share/maven-repo/org/hamcrest/hamcrest-library/1.2/
/usr/share/maven-repo/org/hamcrest/hamcrest-library/1.2/hamcrest-library-1.2.jar
/usr/share/maven-repo/org/hamcrest/hamcrest-library/1.2/hamcrest-library-1.2.pom