Sorry if this is considered elsewhere, I am afraid that I cannot find the answer to this particular trivial question.
I have a maven project that references and builds 4 subprojects (as packages). I correctly installed the dependencies between the sub-projects, and I end up with 4 different .jar files:
- parentproj / sub1 / target / sub1.jar
- parentproj / sub2 / target / sub2.jar
- parentproj / sub3 / target / sub3.jar
- parentproj / sub4 / target / sub4.jar
My question is, how do I configure the parent assembly mu so that when building from the main .POM file, all 4 jars are placed in "/ parentproj / target / ..."?
One more question: how do I also create xxxx-ALL.jar (which combines the contents of these 4 packages)?
Chris source
share