我觉得这很烦人。有在目标文件夹2个神火*目录:
- surefire (empty)
- surefire-reports (containing the output of the tests)
我试图找到删除surefire
目录的选项,但我似乎可以找到它。 事情是 - 我有其他没有这个空目录的项目,只有surefire-reports
。
我好像做错了什么,我该如何删除它?我问这个问题的主要原因是这个空目录在控制台中打破了我的选项卡自动完成,因为这个目录是空的。
此外,这只是测试插件,而不是报告插件。项目中没有任何部分(不是任何父母)。
这是我的保命插件设置:
<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>
提前感谢!
我在这里提交了一张票: http://jira.codehaus.org/browse/SUREFIRE-846 – carlspring 2012-02-28 14:19:55