RE: Use cache Squid proxy with maven

2016-10-06 Thread Martin Gainty


> Subject: Re: Use cache Squid proxy with maven
> From: manf...@simpligility.com
> To: users@maven.apache.org
> Date: Thu, 6 Oct 2016 20:11:52 +0200
> 
> I would suggest to use a proper repository manager as a caching proxy 
> instead. 
> 
> There are over 110.000 installations of Sonatype Nexus Repository Manager 
> doing exactly that and its free. 
> 
> Get version 2.14 from https://www.sonatype.com/download-oss-sonatype
> 
> It will save you a lot of hazzle trying to get squid to do what you want and 
> provide a number of other benefits as well.
> 
> Manfred
> MG>i agree.. this will work as long as your requirement is not multicast

> Olivier Haegi wrote on 2016-10-06 08:42:
> 
> > Hello,
> > 
> > I have a squid proxy and i want than maven used it. But squid cache is
> > never used.
> > 
> > I saw than header request send by maven contain : cache-control : max-age=0
> > I think it is the problem.
> > 
> > It seems to me than the maven documentation said  it is the default
> > configuration.
> > 
> > I tryed to configure setting.xml maven file but i never change
> > cache-control setting
> > (I followed this documentation :  http://maven.apache.org/
> > guides/mini/guide-http-settings.html#Taking_Control_of_Your_HTTP_Headers).
> > 
> > So, i search  some help to configure header send by maven.
> > 
> > Thank you
> > 
> > -- 
> > Olivier Haegi
> > 
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> 
  

Re: Use cache Squid proxy with maven

2016-10-06 Thread Manfred Moser
I would suggest to use a proper repository manager as a caching proxy instead. 

There are over 110.000 installations of Sonatype Nexus Repository Manager doing 
exactly that and its free. 

Get version 2.14 from https://www.sonatype.com/download-oss-sonatype

It will save you a lot of hazzle trying to get squid to do what you want and 
provide a number of other benefits as well.

Manfred

Olivier Haegi wrote on 2016-10-06 08:42:

> Hello,
> 
> I have a squid proxy and i want than maven used it. But squid cache is
> never used.
> 
> I saw than header request send by maven contain : cache-control : max-age=0
> I think it is the problem.
> 
> It seems to me than the maven documentation said  it is the default
> configuration.
> 
> I tryed to configure setting.xml maven file but i never change
> cache-control setting
> (I followed this documentation :  http://maven.apache.org/
> guides/mini/guide-http-settings.html#Taking_Control_of_Your_HTTP_Headers).
> 
> So, i search  some help to configure header send by maven.
> 
> Thank you
> 
> -- 
> Olivier Haegi
> 


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



Use cache Squid proxy with maven

2016-10-06 Thread Olivier Haegi
Hello,

I have a squid proxy and i want than maven used it. But squid cache is
never used.

I saw than header request send by maven contain : cache-control : max-age=0
I think it is the problem.

It seems to me than the maven documentation said  it is the default
configuration.

I tryed to configure setting.xml maven file but i never change
cache-control setting
(I followed this documentation :  http://maven.apache.org/
guides/mini/guide-http-settings.html#Taking_Control_of_Your_HTTP_Headers).

So, i search  some help to configure header send by maven.

Thank you

-- 
Olivier Haegi