开发者

Ingnoring module on certain step

开发者 https://www.devze.com 2022-12-25 02:22 出处:网络
I have multimodule project. Can I make it somehow work th开发者_运维问答at when calling compile it would ignore a module, but in all other cases include it ?

I have multimodule project.

Can I make it somehow work th开发者_运维问答at when calling compile it would ignore a module, but in all other cases include it ?

Thanks


Like the comments, i too do not know why? One possible solution: Make a profile in the parent of the module the you will exclude when compiling.

mvn -Pexclude-profile compile //will exclude

mvn compile //will include

This assume that you do not need any thing else from the module, all other life-cycles are excluded too.

0

精彩评论

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