failsafe plugin won't run on one project but will run on another — why?

前端 未结 4 614
眼角桃花
眼角桃花 2020-11-29 12:49

This is driving me insane. The Maven failsafe plugin will not run on my project. If I run mvn verify only surefire runs. If I type mvn failsafe:verify

4条回答
  •  野性不改
    2020-11-29 12:52

    For me it worked only after I added the "default" includes.

        
            org.apache.maven.plugins
            maven-failsafe-plugin
            2.15
            
                
                    **/IT*.java
                    **/*IT.java
                    **/*ITCase.java
                    **/IntegrationTest*.java
                
            
            
                
                    failsafe-integration-tests
                    integration-test
                    
                        integration-test
                    
                
                
                    failsafe-verify
                    verify
                    
                        verify
                    
                
            
        
    

提交回复
热议问题