Hi,

Did you try ${settings.localRepository} because the property is a settings
property?

Why your second example works seems evident. You set the property, so you
can read it.

Hth,

Nick Stolwijk

~~~ Try to leave this world a little better than you found it and, when
your turn comes to die, you can die happy in feeling that at any rate you
have not wasted your time but have done your best ~~~

Lord Baden-Powell



On Sat, Dec 15, 2012 at 4:53 PM, jinwei zhu <zhujinwe...@gmail.com> wrote:

> Dear maven community,
>        Is "maven.repo.local" property still a Built-in maven property
> ?   If yes, Why I can not get it's value by using ${maven.repo.local}
> in pom.xml, but I can get it's value by using ${maven.repo.local} in
> pom.xml after running "mvn -Dmaven.repo.local=/root/.m2/repositories"
> .  So this confuse me much.
>
>
> Best regards!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

Reply via email to