I have a number of maven projects which build various components of a plugin framework for a 3rd party application. I have a master project which, using aggregation ( element), includes all the sub projects. This master project also calls the maven assembler plugin. I can now build all the sub-projects and have the assembler copy their outputs/files/sources/resources etc into a master build directory, and then zip all these files up into a single distribution zip. I do this with the command:
mvn package assembly:assembly
This all works great. I now want to pass this zip file into another maven plugin which will open it up and create a custom manifest file which lists the zip contents and then insert this manifest file back into the zip file. I have written the plugin to do this and it works fine.
My problem is getting this plugin run by maven as part of the build process.
The plugin need the output from the assembler, but there doesn't seem to be anyway of running a plugin after the assembler.
Can anyone help?