I was pondering an idea and wanted to raise a question for developer community.
As I work on a large scale JAVA project using maven in practice has an astonishing amount of benefits. However project is rapidly growing and more modules appear as days go by thus resulting in huge build times and what not that has an impact on continuous integration.
Question – is there some out of the box features that would allow a smart project building that could firstly check if a modules target jar differs from one located in local maven repository. If latter would be true maven could continue onto next module without rebuilding and redeploying identical one ?
Regards
Best thing is to switch to Maven 3 which supports parallel builds via
what also can help is to build what has changed which can be achieved via Maven:
also do many CI systems like jenkins support incremental build. Furthermore checking which kind of tests are running? Can you run unit tests in parallel ? (maven-surefire-plugin). Are these unit tests really unit tests or might some of them integration tests instead?