John might have a recommendation from an API he cleaned up. I don't recommend anyone use the current APIs for artifact resolution.

On 5 Jun 07, at 12:11 PM 5 Jun 07, Jo Vandermeeren wrote:

On 6/5/07, CasMeiron <[EMAIL PROTECTED]> wrote:

ArtifactoryFactory : interface
ArtifactResolver : interface

Where can we find the implementations? I already have a list of
dependencies, just need resolve the full path for each dependency.



Instances of these interfaces can be injected into your mojo as plexus
components.
Just tag them with javadoc annotations and they will be injected, like this:

   /**
    * @component
    */
   private ArtifactFactory artifactFactory;
   /**
    * @component
    */
   private ArtifactResolver artifactResolver;

Cheers
Jo

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder and PMC Chair, Apache Maven
jason at sonatype dot com
----------------------------------------------------------




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to