I'm trying to create a end user zip, containing all programs and data in my workspace.
I have a maven project, with many many modules. A few modules use maven-assembly-plugin and output in format "dir". (1)
In my root/parent project i have an assembly (inherited false) to collect all the programs and data (1) from the modules and put it in a nice big zip.
When i do a "mvn package" on my root, maven does a mvn package on my root first and next on all my modules. That is a problem, cause on first "mvn package" the assembly of root project is "made", but the data created by modules assembly is not yet available.
I did read you can't change the order of modules.
Is there a way to delay the assembly of the root until all modules are ready?
Now i simply call "mvn package" on root twice and it works. But that is a bit of a hack.