I have a multi module maven project which looks something like:
The aggregate projects create parent jars for each of the components containing all of their subcomponents.
I have a pom in each directory, and it all deploys to a local repository. Everything works great!
Except that I would like to have the directory strucuture that "ties it all together" be created as well, something like:
I'm looking for the "right" way to do this.
I've figured out a variety of hacky ways to do this involving post deploy goals, antrun, etc. I simply can't find evidence for this being possible in a "correct" way, is this simply outside the scope of maven?
I've been thinking of creating a Makefile to wrap maven and some bash scripts to move the files around post maven deploy, but I still feel like this isn't a great way of doing it either.
What am I misisng?
You can create such a structure via the Maven-Assembly-Plugin.