On 8/25/07, Wendy Smoak <[EMAIL PROTECTED]> wrote: > On 8/24/07, Zarick Lau <[EMAIL PROTECTED]> wrote: > > > I know what 'install' mean in maven, but running mvn at the "parent" module > > doesn't require "installing" all sub-module first. > > > > And indeed, [Off topic] if running "install" in each individual module > > is pre-req, > > even though I run mvn at "parent" module, it looks a little bit > > strange for me... > > I haven't constructed an experiment to confirm with the latest > version, but my experience has been that if you build from the top, > Maven "knows" about all the sub-modules and can generally find and use > the artifacts. > > If you drop into a subdirectory, it only "knows" about that module and > the ones beneath it. And possibly the parent pom. But it won't know > about sibling modules or their children, so it will try to resolve > those from the repository.
I run mvn at the "top-level" but not under the subdirectory. Best regards, Zarick --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
