Hello,

I've created a plugin that requires a plexus UnArchiver as @component.
The expected Unarchiver is declared by another plugin, configured as an
extensions.

All works fine when unit-testing the plugin using maven-test-harness, but
when I try to use it from another project (it test) I get this error :

Can not set org.codehaus.plexus.archiver.UnArchiver field
org.codehaus.mojo.javascript.AbstractCopyDependenciesMojo.archiver to
org.codehaus.plexus.archiver.zip.ZipUnArchiver

ZipUnArchiver implements UnArchiver ! So this seems to be a classloader
issue. Do you have any idea what can be wrong in my config, or any way to
investigate ?

Nico.

Reply via email to