Trying to exclude the files in path “/path/to/exclude/” while running the unit test cases in
“path/to/directory” . Unfortunately the following snippet is not working in pom.xml
<build>
<testResources>
<testResource>
<directory>path/to/directory</directory>
<excludes>
<exclude>**/path/to/exclude/**</exclude>
</excludes>
</testResource>
<testResource>
<directory>path/to/resources</directory>
</testResource>
</testResources>
</build>
New contributor
Akshara Prasad is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1