In a multi-module project, is there any way for maven to build only those modules that have changed from the previous build and leave the unchanged modules alone (i.e. not build them)?
Currently, this is not possible. The main reason is that it’s a non-trivial to determine whether an entire project’s build is stale (the project here being one of the modules). It will be dependent on the phase being called, and the packaging of the particular module. This type of feature would have to be included in a design discussion on the Maven 2.1 Discussion Wiki.
Related Questions
- In a multi-module project, is there any way for maven to build only those modules that have changed from the previous build and leave the unchanged modules alone (i.e. not build them)?
- What does "Unable to build project foobar; it requires Maven version 2.0.5" mean?
- What happens when a project isn working, can it be changed?