There's a JIRA issue about the interpolation of properties in settings.xml
http://jira.codehaus.org/browse/MNG-2577
Check the version of Maven you are using.
I'm using maven 2.0.9 and I have an environnement variable named REPOSITORY.
In my settings.xml I have
<localRepository>${env.REPOSITORY}</localRepository> and everything works
fine. You could try that.
On Wed, Jun 11, 2008 at 10:22 PM, Doron Solomon <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> I'd like to use a java property to define the local repository in the
> global settings.xml file:
>
> <localRepository>/tmp/${user.home}/.m2</localRepository>
>
> Unfortunately, the property is not interpolated and a directory with
> name "${user.home}" is created. Any ideas how to set the local repo
> using a java property? Is this a bug?
>
> Thanks,
> Doron
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>