How do I define my resource pattern to capture a file type (say ?*.xml) unless it is located under a folder pattern (say **\test\resources)

How do I define my resource pattern to be such that it captures all files of a certain type (say ?*.xml;?*.gif;?*.png;?*.jpeg) unless they are located under a folder pattern **\test\resources
So that a/resources/foo.xml is in but a/test/resources/foo.xml is not - where a can be any path in my folder structure under the project

Please sign in to leave a comment.