> And SubModule2 has a dependency with SubModule1. Is there any way to run mvn
> test in Submodule2 forcing the generation of SubModule1 and its dependents
> if it have. I dont have SubModule1 installed in my local repository.. so mvn
> test in Submodule2 fails.

Not if you run mvn test from SubModule2.

This only works if you run mvn test from MainModule (the top parent).
The reactor will determine via the dependency graph that it needs to
build SubModule1 first, then make that newly-built artifact available
to SubModule2.

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to