Hi, I am writing a Maven plugin that needs a *Wagon* TransferListener (org.apache.maven.wagon.events.TransferListener). To ensure a consistent user experience, this Wagon TransferListener should behave exactly like the (org.eclipse|org.sonatype).aether.transfer.TransferListener which Maven presumably uses for its other downloads.
The question is thus how to obtain such an instance? I wasn't able to simply get a Wagon TransferListener injected (@Component). And while I can get an Aether RepositorySystemSession with its associated Aether TransferListener injected, I couldn't find a *public* Aether->Wagon adapter (the one in maven-resolver-transport-wagon is not public API). And writing this adapter myself feels kind of silly, as I am pretty sure this kind of compatibility layer already exists somewhere. Can you please help me figure out where? Best wishes, Andreas
signature.asc
Description: OpenPGP digital signature
