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.
精彩评论