Making Maven run all tests, even when some fail

后端 未结 5 1890
深忆病人
深忆病人 2020-11-29 15:18

I have a project with several modules. When all tests pass, Maven test runs them all.

When tests fail in the first module, maven will not continue to the next projec

5条回答
  •  情歌与酒
    2020-11-29 15:43

    Try to add the following configuration for surefire plugin in your pom.xml of root project:

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

提交回复
热议问题