简体   繁体   English

使用Maven,JBoss和Eclipse进行多模块部署

[英]Multi-module deploy with Maven, JBoss and Eclipse

Is there a way to do incremental deployments with these three tools when in a multi-module project? 在多模块项目中时,是否可以使用这三个工具进行增量部署?

Example of Maven project: Maven项目示例:

  • project 项目
  • project-data 项目数据
  • project-service 项目服务
  • project-webapp 项目网络应用

The above are Maven modules with dependencies between them. 上面是Maven模块,它们之间具有依赖性。 The project-webapp module contains the .war file, but I don't want to create a new .war file every time I need to deploy. project-webapp模块包含.war文件,但是我不想每次需要部署时都创建一个新的.war文件。 Is there a way to perform deployments upon file saves? 有没有一种方法可以在保存文件时执行部署?

Use the Eclipse WTP support (and either the maven eclipse plugin or m2eclipse to import your project as a dynamic project). 使用Eclipse WTP支持(以及maven eclipse插件或m2eclipse将项目导入为动态项目)。 Did you try? 你试过了吗? Are you facing any particular problem? 您面临任何特殊问题吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM