Accelerating Maven by Delaying Test Dependencies

Jonathan Bell, Eric Melski, Gail E. Kaiser, Mohan Dattatreya · 2015

Modular build systems (such as Maven) may simplify build maintenance, but significantly reduce opportunities for parallelism where they may be most helpful: when running tests. If tests are contained in each module, and modules contain dependencies on each other, their tests can not run in parallel between modules that have build dependencies. This poster will present a technique for achieving significantly greater parallelism in running the tests of Maven-built Java projects, cutting build times in half in our case study.

Read the paper · More papers on PaperTik