I don't think this is necessary. You can override the default of "src/it" with something like:
<configuration>
<projects> <!-- configure test mojo to run foo/*/pom.xml -->
<fileset>
<directory>foo</directory>
<includes>
<include>*/pom.xml</include>
</includes>
</fileset>
</projects>
<filesets> <!-- configure clean mojo to delete bar and all its contents -->
<fileset>
<directory>bar</directory>
</fileset>
</filesets>
</configuration>
If a user wants to override one of these, it seems likely they're doing something unconventional and would want to override both explicitly.
I do think the element names <projects> and <filesets> are a bit unintuitive, though...
I don't think this is necessary. You can override the default of "src/it" with something like:
<configuration> <projects> <!-- configure test mojo to run foo/*/pom.xml --> <fileset> <directory>foo</directory> <includes> <include>*/pom.xml</include> </includes> </fileset> </projects> <filesets> <!-- configure clean mojo to delete bar and all its contents --> <fileset> <directory>bar</directory> </fileset> </filesets> </configuration>If a user wants to override one of these, it seems likely they're doing something unconventional and would want to override both explicitly.
I do think the element names <projects> and <filesets> are a bit unintuitive, though...