Hi all,

The Eclipse settings files keep causing trouble for me. I've recently switched 
from the maven-eclipse-plugin to M2e. The first is deprecated and the latter 
has become much more stable lately and provides a much better integration of 
Maven in Eclipse. However, M2e changes the org.eclipse.jdt.core.prefs files in 
all projects and adds quite a few new files. These changed files make it 
impossible to rebase without stashing them first, which in turn requires me to 
close Eclipse.

My question is: what should we do with these settings files? In my opinion 
they do not belong in the source, they should be added when importing the 
projects and ignored by git. However, M2e does not (yet?) support importing 
eclipse settings (it is possible with this plugin: 
https://github.com/papegaaij/m2e-settings, but that requires manually adding a 
plugin to Eclipse). So for now, I propose to upgrade the core setting files to 
Eclipse Juno and add .settings to .gitignore to ignore all other files. Is 
that ok, or does anyone have a better solution?

Best regards,
Emond

Reply via email to