Is it possible to load a File/Resource from Maven's test/resources directory using @Value?
e.g. something like this:
@Value("${test/resources/path/to/file}") File file
EDIT:
I tried this:
@Value("${someFile}") FileSystemResource file;
but at runtime I see that it represents the working directory and not the file that in test/resources