What have you tried and what did it do?
Did you read up on multi-module builds to see how they are supposed to work and what you need to do to make it happen?

Ron


On 05/10/2012 10:56 AM, Jan wrote:
Hi All,

I'm trying to see is there any best way or process to do incremental build
using maven?

Basically i have multi module project like show below, when i run mvn with
-amd command how maven will compile only changed files?

For Eg lets say i have

- Project A
   | - Module-A
   | - Module-B
   | - Module-C
   | - Module- D

Dependency wise
B -> A,
C -> A,B
D -> A,B,C

In this setup when run my root pom from Project a location i expect maven
to identify only C Module is changed, so it will compile C & D. Will maven
automatically finds which module code is updated or we have to pass the
changed module as argument for build.

Please help



--
Ron Wheeler
President
Artifact Software Inc
email: rwhee...@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to