Hi Sid,
It will resolve the classes directory of module A that will have been populated 
during module A's 'compile' build.
Joe

On 2024/02/15 17:50:44 Siddharth Jain wrote:
> Hello,
>
> I am working on a multi-module Maven build. e.g., I have a root directory
> containing 3 sub-projects A, B, C and a parent pom defined in the root
> directory. I notice that I can run mvn compile from the root directory and
> it will build the 3 projects. The projects may have inter-dependencies
> e.g., B depends on A and let's say C depends on both A and B.
>
> My question is while building B how does maven locate the compiled code of
> A (the dependency) since maven compile by itself does not install the built
> artifact into M2 repository?
>
> Sid
>

Reply via email to