Yes, plexus will inject any dependency for common maven components.
If you need an ArtifactResolutionResult, you should use
ArtifactResolver and copy surefire plugin
resolveArtifact() method.
Nico
2007/10/16, Adrian Gonzalez <[EMAIL PROTECTED]>:
>
> Thanks nicolas,
>
> I've took a look at surefire plugin, all I need to do
> is this ?
>
> /**
> * @parameter expression="${localRepository}"
> * @required
> * @readonly
> */
> private ArtifactRepository localRepository;
>
>
> --- nicolas de loof <[EMAIL PROTECTED]> a écrit
> :
>
> > Why not use an ArtifactResolver as the surefire
> > plugin does ?
> >
> > 2007/10/16, Adrian Gonzalez <[EMAIL PROTECTED]>:
> > >
> > > Hello,
> > >
> > > I need to access localRepository from the
> > > maven-war-plugin in order to get
> > > artifactResolutionResult.
> > >
> > > Could someone point me at how can I achieve this
> > > please ?
> > >
> > > Thank you
> > >
> > >
> > >
> > >
> >
>
> _____________________________________________________________________________
> > > Ne gardez plus qu'une seule adresse mail ! Copiez
> > vos mails vers Yahoo!
> > > Mail
> > >
> > >
> >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > >
> > >
> >
>
>
>
>
> _____________________________________________________________________________
> Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo!
> Mail
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>