Maven Cobertura plugin not generating coverage.xml

前端 未结 8 1973
我在风中等你
我在风中等你 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:43

    Update your POM file as

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

    This worked out for me: Probable reason it contanis the latest version of cobertura-maven-plugin (2.7)

提交回复
热议问题