maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernd Eckenfels <e...@zusammenkunft.net>
Subject Re: use separate mirrors for project dendencies and plugin dependencies ??
Date Tue, 06 May 2014 10:07:23 GMT
Hello,

It would be good if Proxy requests would actually carry the repository URLs or names the request
is actually proxied for. I havent seen a proxy which allows configuration in this regard (and
therefore I think the protocol does not provide this extra information)

Bernd

> Am 06.05.2014 um 09:07 schrieb Dan Tran <dantran@gmail.com>:
> 
> Ofcourse, I do have Maven repo manager ̣ nexus at this time), however still
> struggle on how to get only plugin's artifact goto one proxy and others
> goto to another proxy using mirror settings.
> 
> Are you able to do so?
> 
> -Dan
> 
> 
> 
>> On Mon, May 5, 2014 at 11:59 PM, Christian Domsch <mail@landrus.de> wrote:
>> 
>> Hi Dan,
>> 
>> Did you consider using nexus? There you can setup any kind of strange repo
>> setup your mind can come up with ;-) For your case, create one repo for
>> your project stuff and one repo for your plugin stuff. Create a group for
>> both for easy access and control access by authorization...
>> 
>> Christian
>> 
>> 
>>> On 06.05.2014 06:29, Dan Tran wrote:
>>> 
>>> Thanks Barrie,
>>> 
>>> Will see what I can can do.
>>> 
>>> 
>>> On Mon, May 5, 2014 at 5:04 PM, Barrie Treloar <baerrach@gmail.com>
>>> wrote:
>>> 
>>>> On 6 May 2014 09:21, Dan Tran <dantran@gmail.com> wrote:
>>>> 
>>>> for legal purpose ( btw, please dont drill me here), I would like to use
>>>>> one mirror as a gate way for all of of my project dependencies,and
>>>> another
>>>> 
>>>>> mirror as a gate way for all of my plugins and their dependencies
>>>>> 
>>>>> 
>>>>> is it possible? Posting a settings.xml config here is very much
>>>> appreciated
>>>> 
>>>> 
>>>> Having not done this, here is some more insane advice.
>>>> 
>>>> I'd use three.
>>>> One proxy to proxy the other two proxies.
>>>> All developers point to the master proxy.
>>>> You can then configure the master proxy to refer to the project
>>>> dependencies proxy and another for plugins dependencies proxy.
>>>> 
>>>> You might need a more sophisticated maven repository manager that you can
>>>> restrict what is allowed in the proxies (i.e. it just doesn't go and grab
>>>> stuff for you).
>>>> 
>>>> You're going to have to do a lot of fiddling to get this to work.
>>>> I'm not convinced it is going to give you what legal thinks it will...
>>>> 
>>>> If you could write up what you tried and whether it worked it would be
>>>> helpful for anyone else attempting the same thing...
>> 

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


Mime
View raw message