In the Eclipse preferences for the Maven plugin, there is a check box for Open XML page in the POM editor by default
. Its exact location varies by plugin version.
Juno/Kepler/Luna/Mars (4.x)
In these versions of Eclipse:
- Click Window → Preferences
- Expand Maven
- Click User Interface
- Check Open XML page in the POM editor by default
- Click Apply and Close
POMs will open in source view by default.
Helios/Indigo (3.x)
In these versions of Eclipse:
Maven
> POM Editor