更准确地说,我正在建立一个使用 Spring 进行依赖注入的 Maven 项目。由于我希望 Maven 将 Spring Project 性质添加到我的 Eclipse 项目文件中,因此我将其放入maven-eclipse-plugin
我的部分pom.xml
:
<additionalProjectnatures>
<projectnature>org.springframework.ide.eclipse.core.springnature</projectnature>
</additionalProjectnatures>
我无法在 Spring 站点上找到有关此 Maven 设置的任何官方文档。大多数其他站点,例如this one或this SO answer,也建议将其放入配置部分:
<additionalBuildcommands>
<buildCommand>
<name>org.springframework.ide.eclipse.core.springbuilder</name>
</buildCommand>
</additionalBuildcommands>
查看 Eclipse,我看到该构建器也已配置。这个builder具体是做什么的?