I have a maven multi module project where two modules of mine should be assembled through the maven plugin for deployment on top of a container.
Let's say my hierarchy is the following
- module1
- module2
- testmodule
I have a test case inside the test module which should retrieve the module1 and module2 assembled jars and try to deploy them on top of a container. Is it possible to do it programmatically, i.e. to walk the maven project through its API and retrieve the filenames of the assembled jars from the project?