Maven Cobertura plugin not generating coverage.xml

前端 未结 8 1885
我在风中等你
我在风中等你 2021-01-31 15:01

I am trying to generate a coverage.xml so that I can reference it in Cobertura plugin of Hudson, but the file is not being created.

I\'ve added the following to my POM

8条回答
  •  一向
    一向 (楼主)
    2021-01-31 15:57

    I put the plugin in the build section and it works:

    
        
            
                org.codehaus.mojo
                cobertura-maven-plugin
                2.5.1
                
                    
                        html
                        xml
                    
                
            
        
    
    

    The reporting section and its differences to the plugin section are described here. I don't know if this is a maven [3.0.4] or cobertura-plugin issue.

提交回复
热议问题