I want to add test resources from another module.
My tests ran ok with the following
<testResources>
<testResource>
<directory>DEPENDENCY_A/src/main/resources</directory>
</testResource>
</testResources>
DEPENDENCY_A has pom packaging, however, my tests cannot the same external resources by adding it as a test-pom-dependency.
<dependency>
<groupId>DEPENDENCY_A</groupId>
<artifactId>DEPENDENCY_A</artifactId>
<type>pom</type>
<scope>test</scope>
</dependency>
Please help :) How do I access resources in DEPENDENCY_A in my unit tests? Maybe I'm missing something obvious in Java basics :(