I'm confused a bit. What's the recommend setup for a Maven-Multi-Module project, that has the following packaging types:
eclipse-plugin
eclipse-repository
eclipse-feature
war
jar
To be much more specific: Is it recommend to checkin .project file or let m2e create, if the developer imports existing maven projects?
My current situation:
* If the file exists, m2e seems to verify, if the m2e nature and builders are configured, if not, they're added
* If the .project file doesn't exists, its created with jdt.core.javabuilder but WITHOUT pde-Buildes --> therfore cannot compile sucessfully, because of missing plugin-dependency resolition
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
* for feature modules I would expect to get a .project file generated that has the following buildSpec' and natures
<buildSpec>
<buildCommand>
<name>org.eclipse.pde.FeatureBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.FeatureNature</nature>
</natures>
but got this:
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.springframework.ide.eclipse.core.springbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.springframework.ide.eclipse.core.springnature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
</natures>
In Addition, I expected to get Findbugs and Checkstyle builders configured, because both are configured in maven root pom module. Eclipse plugins are installed in MARS Eclispe IDE successfully and can be configured manually, what I would like to avoid ;)
Last but not least : Whats your recommondation for Setups such as checkstyle, jdt tasks, findbugs, formatter, save and clean up actions? We are started to setup IDE with Oomph but it seems that global configurations are overriden by project specific configurations generated by m2e.