Unit tests passing through Maven, but failing through Cobertura: “Expecting a stackmap frame at branch target 65”

前端 未结 2 1594
滥情空心
滥情空心 2021-02-12 15:32

I recently added the Cobertura plugin to my Java/Spring-MVC project. The strange thing is that all my unit tests were passing, and they still pass when Maven does its initial t

2条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-12 15:59

    Fixed by using new plugin

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

提交回复
热议问题