What is the format of the Maven Surefire plug-in <include> statement?
I am trying to start Maven Surefire with an include statement:
<include>**/[AR]*SeleniumTest.java</include> <include>**/[AR]**SeleniumTest.java</include> <include>**/[AR].*SeleniumTest.java</include> But he does not seem to support any of these designations. What is the syntax of this expression? (The link to the documentation will be highly appreciated)
+4
2 answers
The Maven Surefire plugin follows the same semantics for customization and inclusion as Maven FileSets.
You can find some details on how this works through Maven: Final Guide (Section 12.7) :
The includes section uses a list of included elements containing path templates. These patterns can contain wildcards, such as “
**”, which matches one or more directories, or “*”, which matches part of the file name, and “?”, Which matches one character in the file name
+6