Re: maven-proxy support for M2

2006-03-30 Thread Carlos Sanchez
The truth is that I don't know which one wins, I didn't write the
code, but *better m2 support* means redownloading of poms and IIRC
also metadata files

On 3/30/06, Nicolas De Loof [EMAIL PROTECTED] wrote:

 Hello

 maven-proxy 0.2 has been released with better support for maven2.
 My proxy is configured to merge artifacts from central, mojo-snapshots
 and others m2 repositories.

 How does maven-proxy handle metadata.xml files ?
 Without a proxy, maven2 downloads this file from every repo and add
 -reponame suffix. Using a proxy, only one file is retrieved (the last
 modified one ?)

 How is this expected to work ?

 This message contains information that may be privileged or confidential and 
 is the property of the Capgemini Group. It is intended only for the person to 
 whom it is addressed. If you are not the intended recipient,  you are not 
 authorized to read, print, retain, copy, disseminate,  distribute, or use 
 this message or any part thereof. If you receive this  message in error, 
 please notify the sender immediately and delete all  copies of this message.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: maven-proxy support for M2

2006-03-30 Thread Jörg Schaible
Hi Nicolas and Carlos,

Carlos Sanchez wrote on Thursday, March 30, 2006 11:10 AM:

 The truth is that I don't know which one wins, I didn't write the
 code, but *better m2 support* means redownloading of poms and IIRC
 also metadata files 

I wrote the code and the proxy loads the newest ;-)

- Jörg

 
 On 3/30/06, Nicolas De Loof [EMAIL PROTECTED] wrote:
 
 Hello
 
 maven-proxy 0.2 has been released with better support for maven2.
 My proxy is configured to merge artifacts from central,
 mojo-snapshots and others m2 repositories. 
 
 How does maven-proxy handle metadata.xml files ?
 Without a proxy, maven2 downloads this file from every repo and add
 -reponame suffix. Using a proxy, only one file is retrieved (the
 last modified one ?) 
 
 How is this expected to work ?
 
 This message contains information that may be privileged or
 confidential and is the property of the Capgemini Group. It
 is intended only for the person to whom it is addressed. If
 you are not the intended recipient,  you are not authorized
 to read, print, retain, copy, disseminate,  distribute, or
 use this message or any part thereof. If you receive this
 message in error, please notify the sender immediately and
 delete all  copies of this message.
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: maven-proxy support for M2

2006-03-30 Thread hermod.opstvedt
Hi

One note though - Build Maven-proxy with the latest commons-hhtpclient, 
otherwise you will redirect errors.

Hermod

-Original Message-
From: Jörg Schaible [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 30, 2006 12:06 PM
To: Maven Users List
Subject: RE: maven-proxy support for M2


Hi Nicolas and Carlos,

Carlos Sanchez wrote on Thursday, March 30, 2006 11:10 AM:

 The truth is that I don't know which one wins, I didn't write the
 code, but *better m2 support* means redownloading of poms and IIRC
 also metadata files 

I wrote the code and the proxy loads the newest ;-)

- Jörg

 
 On 3/30/06, Nicolas De Loof [EMAIL PROTECTED] wrote:
 
 Hello
 
 maven-proxy 0.2 has been released with better support for maven2.
 My proxy is configured to merge artifacts from central,
 mojo-snapshots and others m2 repositories. 
 
 How does maven-proxy handle metadata.xml files ?
 Without a proxy, maven2 downloads this file from every repo and add
 -reponame suffix. Using a proxy, only one file is retrieved (the
 last modified one ?) 
 
 How is this expected to work ?
 
 This message contains information that may be privileged or
 confidential and is the property of the Capgemini Group. It
 is intended only for the person to whom it is addressed. If
 you are not the intended recipient,  you are not authorized
 to read, print, retain, copy, disseminate,  distribute, or
 use this message or any part thereof. If you receive this
 message in error, please notify the sender immediately and
 delete all  copies of this message.
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR Group
cannot accept any payment orders or other legally binding correspondence with
customers as a part of an email. 

This email message has been virus checked by the virus programs used
in the DnB NOR Group.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: maven-proxy support for M2

2006-03-30 Thread Nicolas De Loof


Does the *redownloading of poms* feature bypass the cache ?
I notice .pom downloading being very slow, even when allready present in 
proxy cache.


Nico.

Jörg Schaible a écrit :

Hi Nicolas and Carlos,

Carlos Sanchez wrote on Thursday, March 30, 2006 11:10 AM:

  

The truth is that I don't know which one wins, I didn't write the
code, but *better m2 support* means redownloading of poms and IIRC
also metadata files 



I wrote the code and the proxy loads the newest ;-)

- Jörg

  

On 3/30/06, Nicolas De Loof [EMAIL PROTECTED] wrote:


Hello

maven-proxy 0.2 has been released with better support for maven2.
My proxy is configured to merge artifacts from central,
mojo-snapshots and others m2 repositories. 


How does maven-proxy handle metadata.xml files ?
Without a proxy, maven2 downloads this file from every repo and add
-reponame suffix. Using a proxy, only one file is retrieved (the
last modified one ?) 


How is this expected to work ?

This message contains information that may be privileged or
  

confidential and is the property of the Capgemini Group. It
is intended only for the person to whom it is addressed. If
you are not the intended recipient,  you are not authorized
to read, print, retain, copy, disseminate,  distribute, or
use this message or any part thereof. If you receive this
message in error, please notify the sender immediately and
delete all  copies of this message.



  

-


To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
  


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


  


This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: maven-proxy support for M2

2006-03-30 Thread Jörg Schaible
Hi Nicolas,

Nicolas De Loof wrote on Thursday, March 30, 2006 2:36 PM:

 Does the *redownloading of poms* feature bypass the cache ?
 I notice .pom downloading being very slow, even when allready present
 in proxy cache.

It's configurable in the maven-proxy configuration:

snapshot.update=true
metadata.update=true
pom.update=true

You might be interested in:
http://jira.codehaus.org/browse/MAVENPROXY-36

And configure also:

checksum.update = true

With this you can set the other variables to false and the proxy will only 
look, if the checksum is different.

No, the cache is never bypassed. Main problem is though, the more files you 
check, the worse is the response.

- Jörg

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: maven-proxy support for M2

2006-03-30 Thread Nicolas De Loof


I don't want to totally stop pom / metadata updates, I just want them to 
stay in cache according to repo.ibiblio.cache.period.


Using maven-proxy, every developer that request a POM waits some seconds 
for it. This sounds like the proxy looks for changes on every request. 
In this case, why use a proxy ? What's the cache.period property for ?




Jörg Schaible a écrit :

Hi Nicolas,

Nicolas De Loof wrote on Thursday, March 30, 2006 2:36 PM:

  

Does the *redownloading of poms* feature bypass the cache ?
I notice .pom downloading being very slow, even when allready present
in proxy cache.



It's configurable in the maven-proxy configuration:

snapshot.update=true
metadata.update=true
pom.update=true

You might be interested in:
http://jira.codehaus.org/browse/MAVENPROXY-36

And configure also:

checksum.update = true

With this you can set the other variables to false and the proxy will only 
look, if the checksum is different.

No, the cache is never bypassed. Main problem is though, the more files you 
check, the worse is the response.

- Jörg

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


  


This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: maven-proxy support for M2

2006-03-30 Thread Jörg Schaible
Nicolas De Loof wrote on Thursday, March 30, 2006 3:41 PM:

 I don't want to totally stop pom / metadata updates, I just
 want them to
 stay in cache according to repo.ibiblio.cache.period.
 
 Using maven-proxy, every developer that request a POM waits
 some seconds
 for it. This sounds like the proxy looks for changes on every request.
 In this case, why use a proxy ? What's the cache.period property for ?

As I said: The cache is never bypassed.

- Jörg

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]