maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jinwei zhu <zhujinwe...@gmail.com>
Subject Re: about maven.repo.local property in maven3.0.4
Date Sat, 15 Dec 2012 16:35:08 GMT
Hi, Nick,
     Yes, I have tried ${settings.localRepository}, it works, too. But
I think there should be a property "maven.repo.local" in maven code ,
and when I using "mvn -Dmaven.repo.local=xxx install" , the value
"xxx" will be passed to the  property "maven.repo.local" . Do you
think so ?



2012/12/16 Nick Stolwijk <nick.stolwijk@gmail.com>:
> 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 <zhujinwei09@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-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message