我有一个babybird
包含 3 个组件的项目persistence
,business
并且service
在babybird
我pom.xml
有以下
<modules>
<module>persistence</module>
<module>business</module>
<module>service</module>
</modules>
当我跑的时候mvn clean install
,我看到
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] babybird ......................................... SUCCESS [2.801s]
[INFO] persistence ....................................... SUCCESS [3.321s]
[INFO] business .......................................... SUCCESS [0.832s]
[INFO] service ........................................... SUCCESS [0.694s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.168s
[INFO] Finished at: Tue Jan 22 12:09:48 PST 2013
[INFO] Final Memory: 18M/50M
[INFO] ------------------------------------------------------------------------
这些模块中的每一个都会生成一个 jar 文件。
问题:如何将它们合二为一babybird.war
?
我是 Maven 新手,不知道要寻找什么来完成这项任务,请提供指点