I have a multi-module maven project and I'm trying to create an assembly for the project. The assembly should be a zip file, including all banks from dependent projects, as well as all resources from these projects (this is due to outdated support considerations). I know that this is not a good practice, but in this case, we really can not do anything about it).
I have an assembly that builds a zip and includes the contents of the output directory of the assembly (which will receive resources). If I run this from the parent pom, it does not actually create a zip (presumably because the parent project is of type pom, not jar). If I run the assembly from one of the individual projects, it includes banks and all the dependencies (I specified, including dependencies). It includes an output directory for this project, but not subsidiary projects.
Do I need to do something, for example, start an assembly from the parent that iterates over the child projects and starts its assemblies (the assemblies for each of the child projects will be the same, although this will include the jar, dependencies and the output directory)? I'm not even sure if this is possible ... any guidance would be appreciated.
source
share