Yes. Build from a shared parent directory with proper <modules>
defined in the parent pom -- ie parent\modA, parent\modB (depends on
A); run "mvn compile" from parent directory.

Otherwise, you'll need to install the modules you have as dependencies.

Wayne

On 3/8/07, Sasha O <[EMAIL PROTECTED]> wrote:
Dear All,

My project consists of several interdependent modules. Module B depends
on module A.

When I am trying to build module B Maven complains that the module A was
not found in the local repository. I would expect Maven to be able to
figure this out automatically -- this is what dependency management is
all about, right?

Is there a way to build dependencies automatically without requiring me
to 'mvn install' them?

Thank you,
Sasha


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to