If you are new to maven, then this is almost a "mission impossible." In theory, this should work as follows:
- Deploy your own
Archiver . - Provide META-INF / plexus / components.xml:
...
<component-set> <components> <component> <role>org.codehaus.plexus.archiver.Archiver</role> <role-hint>myformat</role-hint> <implementation>com.acme.foo.MyArchiverImplementation</implementation> <instantiation-strategy>per-lookup</instantiation-strategy> </component> </components> </component-set>
- Add an artifact as an extension to the assembly.
See plexus-archiver , for example.
source share