On 6/7/07, Váry Péter <[EMAIL PROTECTED]> wrote:
With using the war plugin, we can declare transitive dependencies, A depends on B, and B depends on C. With SNAPSHOT versions I would like to see every changes in C appear immediately in A, without any manual interaction (or as few as possible).
Hi Peter, Maven depends on artifacts which installed in your repository. When depending on SNAPSHOT versions, Maven will use that latest installed (or deployed, determined by the check interval) version of the dependency. So, if you have made changes in C, don't expect B and A to see them, unless module C has been (re)installed in the repository. When you build from a common parent (which contains A, B and C as modules), Maven will order the module's build based upon defined dependencies between them. This is why builds started from the parent level, can guarantee that B and A will see the latest changes made in C. Cheers Jo
