Hello Benyi,

What's so wrong with having module-A installed in your local repository?

Regards,
Stevo.

On Tue, Jun 22, 2010 at 12:29 AM, Benyi Wang <bewang.t...@gmail.com> wrote:

> I have a maven project like this:
>
> my-project
> module-A
> module-B
>
> two modules A and B are in the sibling folders with the parent my-project.
> Module B is a dependent of module A.
>
> If I run "mvn test" in my-project folder, it works fine. But if I run "mvn
> test" in module-B folder, it asks me to install module A in the repository.
>
> How can I build module B without the installation of module A?
>
> I tried reactor command line options and reactor plugins but not lucky.
>
> For example, in my-project folder, "mvn --projects ../module-A" returns an
> error saying cannot find "..../my-project/../module-A".
>
> "mvn reactor:make -Dmake.artifacts=module-B" didn't work too.
>
> Does somebody know the answer? Thanks a lot
>

Reply via email to