开发者

Build aggregator pom for multi module project, with a profile for sub-module

开发者 https://www.devze.com 2023-02-22 05:21 出处:网络
I have a multi-module project as follows --- Module A ( builds war ) --- Module B --- Module C To build the the multi-module project, I have a aggregator POM that defines the mo开发者_如何学JAVAdules

I have a multi-module project as follows

--- Module A ( builds war )

--- Module B

--- Module C

To build the the multi-module project, I have a aggregator POM that defines the mo开发者_如何学JAVAdules.

<modules>

<module>C</module>

<module>B</module>

<module>A</module>

</modules>

War file A, has a dependency on module B & module C.

When I build the aggregator pom, I want to build module-B with a particular profile. Is there a way to tell the aggregator pom to build module-B with a particular profile ?

0

精彩评论

暂无评论...
验证码 换一张
取 消