I have developed a project that consists of two separated tiers that comprise two independent deployments. When I compile these projects they are deployed to my Nexus repository as separate artifacts.

These projects might evolve differnetly, so project A might be on version 1.0.1 and project B might be on version 1.0.5.

However, the whole picture consists of the two projects packed together, so I want to create a "meta-project" that packs the current artifacts of both projects into a single ZIP file. Both projects are WEB projects and thus WAR files.

I am struggling with Maven and the assembly plugin as to how to create such assembly, but haven't figured it out yet how to retrieve war dependencies from the repository and pack them together.