I am using M2E to integrate maven with eclipse. My block checks links to property files in the resources / directory. Well, all is well in the command line mvn test ( mvn test ). However, no resources were found in Eclipse.
Check the Java build path, there all resource records are marked Excluded: ** . (I believe that it should exclude only .java / .class files). After removing the exception pattern, the problem is resolved.
I'm not sure if I should remove all Excluded ** manually, or maybe I'm using M2E incorrectly.
PS Projects are imported by Existing Maven Projects .
Xiè Jìléi
source share