问题:
There are test failures.
Please refer to D:\Projects\java_basic\app-jna-sdk\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.
原因
测试方法存在问题,打包时需要设置跳过测试忽略问题,直接打包(不影响jar包的部署使用)。
解决方法:
在父pom中添加
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<testFailureIgnore>true</testFailureIgnore>
</configuration>
</plugin>
————————————————
版权声明:本文为CSDN博主「想养一只!」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/weixin_45151960/article/details/125065441