I find this rather annoying. There are two surefire* directories in the target folder:
- surefire (empty)
- surefire-reports (containing the output of the tests)
I have tried finding the option to remove the surefire directory, but I can seem to find it.
The thing is — I have other projects that don’t have this empty directory, just the surefire-reports.
What do I seem to be doing wrong and how can I remove this? The main reason for me asking this is that this empty directory breaks my tab autocomplete in the console which sort of pisses me off, since the directory is empty.
In addition, this is just the test plugin, not the reporting one. There is no section in the project (not any parent).
This is my surefire plugin setup:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.12</version>
<configuration>
<excludes>
<exclude>**/*Abstr*Test*</exclude>
</excludes>
</configuration>
</plugin>
Thanks in advance!
This appears to be a bug in the
maven-surefire-pluginand I’ve filed a report under SUREFIRE-846.