1. 打开 Windows>Preferences>Maven>User Interface 勾选 "open xml page in the POM editor by default
2. 打开 Windows>Preferences>General>Editors>File Associations. 点击 File Types 标签页中 add 按钮, File type 输入 pom.xml
3. 选中 pom.xml, 在 Associated editors 标签页中选中 [Maven POM Editor] , 点击 Default .
来源: http://www.bubuko.com/infodetail-3487935.html