maven - Can a module compilation happen before it's dependency tests are over? -


let's have multi module project in maven 2 projects , b. depends on b.

if run parallel build (mvn -t 2c ...) module b compiled, tested , module compiled , tested. :

b compile b tests compile tests

to speedup things, start a's compilation (and maybe tests) before (well during...) b's tests.

in other words, there option in maven allowing have phase granularity instead of module ganularity while doing parallel builds ?

the simple answer this: no there exist no such option.

a longer answer:

it wouldn't make sense, cause running tests after code has compiled 1 of foundations here have reliable code.

if think further that: lets possible such thing.

you run compile of module b , in parallel let module run it's compilation well. questions comes @ point in module b tests fail ? mean? start of compilation module useless cause have counted on wrong code (failing tests).


Comments

Popular posts from this blog

wordpress - (T_ENDFOREACH) php error -

Export Excel workseet into txt file using vba - (text and numbers with formulas) -

Using django-mptt to get only the categories that have items -