I've maven project. I use maven-assembly-plugin to create zip files with all module dependencies packed in it. Need to create zip with following structure:
/my-libs
/other-libs
To my-libs
need to pack dependencies from my-lib
depenency + all its transitive dependencies.
TO other-libs
need to pack all other dependencies from current maven module.
Basically I need conditionally select target folder:
if (dependency in transitive-dependencies(my-lib))
copy to /my-libs
else
copy to /other-libs
Is it possible to do with maven-assembly-plugin
? Are there any alternative maven plugins to do so?