I went to file associations there was no .xml format, when I added it, all editors were added automatically and they are static writing me something like:
My problem was that I opened the pom.xml with the maven editor - I wanted it to be opened with the maven editor but to open in the "source" view - achieved it by:
Typing xml in the search box did not include this page in the results.