Cobertura doesn't work with Java 7

后端 未结 3 2034
我寻月下人不归
我寻月下人不归 2021-01-19 01:23

I am using maven 3.0.4, JRE 1.7.0_09. When I use mvn clean install all my tests passes and everything looks good - here is my surefire plugin confi

3条回答
  •  不知归路
    2021-01-19 01:35

    Perhaps you can set the compiler source and target version options to version "1.6" Different versions of build tools may choose different defaults for this setting. (Buildr 1.4 defaults to source and target 1.7 these days; Maven 2.x still uses 1.6 or earlier.)

提交回复
热议问题