解决target\surefire-reports for the individual test results 问题:

idea reload maven 项目时:

报了如下错:
Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (default-test) on project Ivqip-server: There are test failures.

Please refer to D:\project\a-parent\a-server\target\surefire-reports for the individual test results. Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.

我们只需要在pom.xml文件里加入:

<build>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-plugin</artifactId>
				<configuration>
					<testFailureIgnore>true</testFailureIgnore>
				</configuration>
			</plugin>
		</plugins>
	</build>

然后重新build一下就可以了

更多推荐

解决target\surefire-reports for the individual test results 问题