To be more precisely, I am setting up a Maven project which uses Spring for dependency injection. As I want Maven to add Spring Project nature to my Eclipse project files, I put this into the maven-eclipse-plugin
part of my pom.xml
:
<additionalProjectnatures>
<projectnature>org.springframework.ide.eclipse.core.springnature</projectnature>
</additionalProjectnatures>
I was not able to find any official documentation on the Spring sites about this Maven setup. Most other sites, e.g. like this one or this SO answer, recommend to put this into the configuration section, too:
<additionalBuildcommands>
<buildCommand>
<name>org.springframework.ide.eclipse.core.springbuilder</name>
</buildCommand>
</additionalBuildcommands>
Looking into Eclipse, I see that this builder is also configured. What exactly does this builder do?