jacoco : Cannot exclude classes

后端 未结 3 899
灰色年华
灰色年华 2020-12-06 08:02

I have a maven project and I want to use jacoco for code coverage. Here is the relevant section of my pom

          
                      


        
3条回答
  •  日久生厌
    2020-12-06 08:41

    I solved the duplication issue by adding prepare-package to the report execution task:

    
      org.jacoco
      jacoco-maven-plugin
      0.8.5
      
        
          prepare-agent
          
          prepare-agent
          
        
        
          report
          prepare-package
          
          report
          
        
      
    
    

提交回复
热议问题