Hi,

I'm trying to get a project which has multiple modules to compile at the top level. Some of my submodules have dependencies on each other - eg i have A B and C submodules, and C depends on B, but A doesn't. Currently when I run mvn package from the top level project, each subproject/submodule gets built, but it fails on the ones that depend on their peers (eg. fails on C in previous example) saying that it can't find the jar. I can obviously jump into the directory and run an 'install', but that's not neat, or I can run "mvn install package", but that's not massively neat either.

This is part of a larger attempt to get the whole build process integrated across multiple projects stored in separate locations in version control, so I really need an automated solution.

Is there an existing approach/recommended best way to do this?

Thanks,

Rob

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

Reply via email to