Using the m2eclipse Eclipse plugin, each developer should be able to verify the source code, import the Maven project into Eclipse, and have a good go .
I saw that m2eclipse integrates in Eclipse 3.7 and the maven-eclipse-plugin is no longer supported, so I'm looking for a solution based on m2eclipse (without running "mvn eclipse: clean eclipse: eclipse" before importing the project, which makes maven-eclipse- plugin).
maven-eclipse-plugin allows this in pom.xml
<additionalConfig> <file> <name>.settings/com.google.gdt.eclipse.core.prefs</name> <content><![CDATA[ eclipse.preferences.version=2 jarsExcludedFromWebInfLib= warSrcDir=${project.build.directory}/${project.build.finalName} warSrcDirIsOutput=true ]]> </content> </file>
The more general question: how would m2eclipse do something like this? In some cases, itβs easy to save the eclipse.settings / prefs file (for example, org.eclipse.jdt.ui.prefs), but in this case com.google.gdt.eclipse.core.prefs is always overwritten when importing the m2eclipse project.
Specific question: asked here , without an answer. Thanks!
UPDATE: now impossible, see request
source share