I have a project that uses the normal Maven structure, e.g.
module \\ src \\ main - java - resources \\ test - java - resources
/src/test/resources/lipsum.pdf
find it's full path using
String fileName = ClassLoader.getSystemResource("lipsum.pdf").getFile();