Set default java compliance level for Maven projects in Eclipse

前端 未结 4 1713
情歌与酒
情歌与酒 2020-12-31 07:27

The default compliance level for Maven is 1.5 and every time that I update a maven project in Eclipse it sets back the compliance level from 1.6 to 1.5 which is really annoy

4条回答
  •  醉梦人生
    2020-12-31 07:37

    This worked for me..

    
    ProjectName
    
       
           org.apache.maven.plugins
           maven-compiler-plugin
           2.3.1
           
               1.6
               1.6
           
       
    
    
    

提交回复
热议问题