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>
                    

 

posted @ 2020-12-14 19:30  alittlecomputer  阅读(393)  评论(0)    收藏  举报