我的 Maven 2 项目由几个子模块组成。它的结构包含 EJB、WAR 和 Jar 子模块。现在我想检测包含所有子模块的打包 EAR。
例子:
Interface Maven Project consists of several modules:
- InterfacePOM --> parent pom
- InterfaceEAR --> EAR module which does not actual code but is the packaging for Domain, EJB and WAR
- InterfaceEJB --> EJB module
- interfaceWAR --> WAR module
- interfaceDomain --> JAR module
使用 Cobertura 时,我可以成功检测所有各种独立模块,但每个模块生成一个 .ser 文件。有没有办法一次检测整个 EAR 文件?这样结果将是我可以使用的单个 .ser 文件?