I am going to optimize time of building our projects. One of the most time-consuming thing is a compilation of the projects.
Due to known problem of the maven mentioned in particular here: Maven incremental building we have to use mvn clean before every building process.
I have investigated this question and found out two approaches:
I have tested Incremental-build-plugin Maven Mojo and it looks pretty good. As I see Maven 2 Reactor Plugin implements almost the same functionality but the special command should be specified to achieve results (mvn reactor:make for instance).
So I have made conclusion that Maven 2 Reactor Plugin is more convenient only for developers if they are going to optimize time of the buildings on their local computers. But I have some hesitation because Maven 2 Reactor Plugin is hosted and (as I think) is supported as official maven plugin, but Incremental-build-plugin Maven Mojo is hosted on java.net.
And my questions are:
- Are my conclusions that these two plugins solve almost the same problem right?
- Do anybody has any experience using both of these plugin and able to give any feed back about them?
- Do you have other ideas of optimization of the building?