maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jamie Archibald <jam...@gmail.com>
Subject Re: issues when disabling settings.xml
Date Tue, 24 Sep 2013 12:19:58 GMT
That seems like overkill. The whole point to a local maven repository is to
provide caching so you don't have to continually redownload load artifacts.
Also, installing a nexus repo on my machine seems counterproductive from
"the maven way" which includes portable builds.

Unless I'm completely wrong?

Jamie



On Tuesday, September 24, 2013, Markku Saarela wrote:

> Install local Nexus in you machine and add work Nexus as proxy repository
> in it and then only one setting.xml works.
> It also gives you freedom to work totally offline.
>
> Cheers,
> Markku
> On 09/24/2013 03:31 AM, Jamie Archibald wrote:
>
>> I typically work behind a Nexus server at work which I use a settings.xml
>> file. When I come home I remove the settings.xml from my m2 folder.
>>
>> As soon as I do this I can no longer resolve my maven dependencies that
>> are
>> my work modules, even though they show up in my m2 repo.
>>
>> When I put the settings.xml back into my m2 repo the dependencies can
>> resolve.
>>
>> This happens with both snapshots and non-snapshots.
>>
>> What am I missing here?
>>
>>
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

-- 
Jamie

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message