maven 启动忽略test

两种方法

1,--命令

 mvn install -Dmaven.test.skip=true

2.pom.xml 文件

 在tomcat 下面的pom.xml 文件里面加上如下


            
                org.apache.maven.plugins
                maven-surefire-plugin
                
                    true
                

            

        

你可能感兴趣的:(Test)