首页 文章

Spring启动多模块 - 重新加载子模块而不运行maven安装

提问于
浏览
1

我有一个spring boot多模块maven项目,配置有父pom,web应用程序和web项目所依赖的子模块 .

是否有我可以使用的eclipse插件允许我在子模块中进行更改,然后在每次重新启动Web应用程序而不在子模块上运行maven install时反映出这种变化?

pom.xml
    |
    Web Application
    pom.xml
    |
    Sub Module
    pom.xml

我正在使用运行配置目标在eclipse中启动应用程序:spring-boot:run

1 回答

  • 1

    实际上没有必要安装任何插件来解决这个问题 . 只需右键单击要运行的项目,然后选择Run Configurations,然后选择Resolve Workspace artifacts .

    enter image description here

相关问题