How is it possible to make an assembly in a multi module project? I'm
sure this could be pretty easy, but I get a lot of problems with this
task.
Suppose I have two modules in my project: module1 and module2, and the
later depends on the former.
When I execute command 'mvn assembly:assembly', maven compiles first
module successfully. But when it proceeds to the second module, maven
complaints with error that the module1 dependency cannot be resolved.
This is because assembly plugin does not install module artifacts to
the local repository.
Sure, I can execute command  'mvn install assembly:assembly', but this
one takes too much time because it compiles the whole project and
executes unit tests twice: first when installing, then when
assembling.
I would prefer if maven would compile, test, package and assemble the
whole project in one round. Is this possible?
Thanks.

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

Reply via email to