开发者

Ingnoring module on certain step

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜