Re: cannot reuse mavenArchiver instance in a Mojo

2008-02-11 Thread nicolas de loof
Even perlookup instantiation (that seems to be the case) will not solve my issue as I'm using the archiver multiple time in the *same* mojo execution : * @parameter expression="${ component.org.codehaus.plexus.archiver.Archiver#jar}" * @required */ private JarArchiver archiver;

Re: cannot reuse mavenArchiver instance in a Mojo

2008-02-11 Thread Brett Porter
I would have expected the JAR archiver to be single use (IIRC, perlookup instantiation-strategy instead of the default). Is it possible this is a regression in a recent version of the archiver? - Brett On 11/02/2008, at 10:46 PM, nicolas de loof wrote: Hello, I need to build multiple arch

cannot reuse mavenArchiver instance in a Mojo

2008-02-11 Thread nicolas de loof
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