In my maven project I want to assemble an ipkg file (This is like a Debian Package but for embedded systems). For this I need to create AR archives with the assembly plugin. In the plugin documentation I found this: "and any other format that the ArchiveManager has been configured for". But I can't find out how to "configure" the "ArchiveManager". How can I do this? Or better: Maybe someone already did this and I can use an already existing plugin?
If you're new to maven then it's almost "mission impossible". In theory this should work as follows:
Archiver
....
<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>
See plexus-archiver
for example.
Did you check the maven-pkg-plugin (mentioned here and here)?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With