maven打包报错rg.apache.maven.plugins:maven-surefire-plugin:2.22.1:test (default-test) on project user: There are test failures.
添加下面插件即可
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.1</version>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>