8

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?

EricSchaefer
  • 25,272
  • 21
  • 67
  • 103
SimonTheSorcerer
  • 500
  • 4
  • 13
  • The Spring Nature in my Spring projects in STS get not lost when I do "Maven/Update Project" so there is maybe a problem with your eclipse or pom. – Ralph Nov 29 '12 at 14:47
  • I don't understand why this question was closed. I don't see anything controversial or subjective about it (at least not since it was edited) or it's likely answers, and I, for one, would like to know what the springbuilder does. Please consider re-opening this question. Thanks! – Mark Apr 11 '14 at 15:32
  • Thank you for your support. I do not know what I can do to request a re-opening. I already edited this question but nothing happened since then. Sorry. – SimonTheSorcerer Apr 11 '14 at 23:10

0 Answers0