CI Perf Lint

maven-parallel-not-enabled

Detects multi-module Maven repositories that run lifecycle goals in CI without parallel module execution.

Why it matters

Maven builds modules serially by default. For multi-module projects, --threads lets independent modules build and test in parallel, which can substantially reduce CI wall-clock time. Many repositories run large Maven builds with the default single-threaded configuration.

Detection

Reports when:

Exclusions

Does not report when:

Severity

warning — parallel execution is a large, low-risk win for most multi-module builds, but plugins that are not marked @threadSafe can break under parallelism.

Caveats

Always check Maven’s thread-safety warnings (it lists plugins whose goals are not marked @threadSafe). Replace or isolate those plugins before relying on parallel execution, and validate the build and test results.