Standard Practice for Continuous Integration of Maven Multi-module projects
- by James Kingsbery
I checked around, and couldn't find a good answer to this:
We have a multi-module Maven project which we want to continuously integrate. We thought of two strategies for handling this:
Have our continuous integration server (TeamCity, in this case, but I've used others before and they seem to have the same issue) point to the aggregator POM file, and just build everything
Have our continuous integration server point at each individual module
Is there a standard, preferred practice for this? I've checked Stack Overflow, Google, the Continuous Integration book, and did not find anything, but maybe I missed it.