${settings.localRepository} is a string. ${localRepository} should
work as an ArtifactRepository.
- Brett
On 1/6/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I'm not able to get the pointer to my local repository in my Mojo. I looked
> at maven-projectreports-plugin, and it uses the expression:
> ${localRepository}.
>
> e.g.
>
> /**
> * Local repository.
> *
> * @parameter expression=${settings.localRepository}
> * @required
> * @readonly
> */
> private ArtifactRepository localRepository;
>
>
> I tried this in my Mojo and guess what, the field is null.
>
> I set the pointer to my local repository using the environment variable
> MAVEN_REPOSITORY to point to R:\. I tried to set it in
> MAVEN_HOME/conf/settings.xml, but no success either.
>
> How can I guess access to it?
>
> Thanks,
> Chris
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]