Hello,
I need to build multiple archives from a mojo. I used a JarArchiver as
plexus component :
/**
* @parameter expression="${
component.org.codehaus.plexus.archiver.Archiver#jar}"
* @required
*/
private JarArchiver archiver;
The generated jars grows as long as I create more un the plugin : the next
jar contains all files from the previous one
Using archiver.reset() doesn't change anything.
Looking at source, AbstractArchiver.addFile puts files in a filesMap that is
never cleared.
Is this a known bug ?
Nico.