Java version automatically change to java 1.5 after maven update

前端 未结 11 525
盖世英雄少女心
盖世英雄少女心 2020-12-22 17:29

I am using eclipse as IDE. When I right click on the project and then click maven update my java version change to 1.5. Here is what I did so far, I followed all the steps l

11条回答
  •  感动是毒
    2020-12-22 18:10

    I had this problem. In my case the tag & nested tags Jorge Campos mentions above were in the wrong place. If I put them between the and tags in the pom.xml file, then this behaviour stopped.

    That can be picked up in Eclipse if validation of these files is switched on.

提交回复
热议问题