DevOps / Bamboo: Continuous Integration & Deployment Interview Questions
How do you configure a multi-module Maven build in Bamboo?
For a reactor-style multi-module Maven project, the simplest approach is a single Maven task pointed at the root POM, letting Maven's own reactor handle module ordering:
mvn clean install -pl module-a,module-b -am
For faster feedback on larger projects, teams often split modules into separate jobs within the same stage instead — one job per module — so independent modules build in parallel across agents, with a shared artifact (or a local Maven repository cache) carrying compiled dependencies between them. This requires care around module build order, since a module job that depends on another module's output needs that artifact shared to it before its own Maven task runs.
Either way, a JUnit Parser task afterward aggregates test results across all modules into one build summary, rather than leaving results scattered per module.
More Related questions...