- Make sure you have m2e/m2e-wtp installed
- Make sure Eclipse applies the Maven project nature to the project - Right click project > Configure > Convert to Maven Project.
- If you edit a file outside Eclipse, make sure Eclipse knows about the change -- you need to enable native hooks -- Preferences > General > Workspace > Refresh using native hooks or polling. Alternatively, you can select the file and hit F5 (refresh) to make sure Eclipse is aware of the change.
- Hit publish if you're using WST/JST (server tools) and deploying to a server via Eclipse.
In my experience if you've done all this, it should publish the changes to your target war as expected. Though, you may need to restart the container if the XML files are used as part of the startup configuration.