Maven打包出错Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test

 解决办法如下,在pom.xml中build节点添加以下内容

<plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <configuration>
                    <skipTests>true</skipTests>
                </configuration>
            </plugin>
                    
原文地址:https://www.cnblogs.com/LoganChen/p/14135194.html