Hi Brett,

Brett Porter wrote on Wednesday, November 09, 2005 12:35 AM:

> Just the metadata by default, but the poms can be enabled for
> refreshes. 

Fine. This matches my patch http://jira.codehaus.org/browse/MAVENPROXY-34. 
Metadata and their checksums are handled like snapshots and looked up again and 
this can be optionally activated for POMs too.

> It'd probably be best to always reget the checksums, and if
> they've changed redownload the rest.

The current implementation handles each request separate, the maven-proxy core 
has basically no idea if the requested file is an artifact, metadata or a 
checksum. It does basically a pattern matching for each requested URL to 
identify the different cases (static data or data to look up again). For a 
proper checksum support it would have internally to associate the checksum with 
the artifact and would have to know if the requested artifact is from a M1 or 
M2 repo, since M1 uses md5 checksums and M2 sha1. Not infeasible though ...

- Jörg

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

Reply via email to