POM.XML有:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.15</version>
<configuration>
<suiteXmlFiles>
<suiteXmlFile>src\test\resources\all_testing.xml</suiteXmlFile>
</suiteXmlFiles>
</configuration>
</plugin>
当我在POM.xml中包含以下标签时,我收到错误:
"Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.15:test (default-test) on project"
我该如何解决这个问题?
答案 0 :(得分:0)
<suiteXmlFiles>
<suiteXmlFile>src\test\resources\all_testing.xml</suiteXmlFile>
</suiteXmlFiles>
尝试用'suiteXmlFile'标记内的斜杠('/')替换反斜杠('\')。