> As you can see B depends on A.
>
> If I run mvn package in the root folder, everything works fine.
> If I run mvn package in A everything is fine aswell
> However, if I run mvn package in B, mvn does not know where to find
> test.test:A

B depends on A, which is not installed. Since it is not installed, A
does not exist as far as B is concerned except when you are building
from A directly or from the parent (in which case, the reactor will
resolve it).

This is working as intended. B does not know where to look for A
except in the local repo cache, though the reactor can provide it in
multi-module builds such as when you build from the parent in your
example above.

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to