[ http://jira.codehaus.org/browse/MRM-155?page=comments#action_73856 ]
Brett Porter commented on MRM-155:
----------------------------------
this:
if ( path.endsWith( ".md5" ) || path.endsWith( ".sha1" ) )
{
// always read from the managed repository, no need to make remote
request
}
was removed without explanation. The checksums should always be present so need
to proxy them. I added it back.
> When proxy is used by maven1artifact are stored in managed repo using legacy
> layout.
> ------------------------------------------------------------------------------------
>
> Key: MRM-155
> URL: http://jira.codehaus.org/browse/MRM-155
> Project: Archiva
> Issue Type: Bug
> Components: remote proxy
> Reporter: nicolas de loof
> Attachments: DefaultProxyRequestHandler.java.patch,
> DefaultProxyRequestHandler.java.patch, LegacyArtifactDiscoverer.java.patch,
> MRM-155.patch
>
>
> When Archiva downloads a maven1 artifact, (let's say servletapi-2.3) the
> artifact is stored using legacy layout (maven1 path). When a maven2 client
> asks for it, the artifact is downloaded a second time and stored using maven2
> layout.
> This may produce lot's of duplicates in the managed repo.
> request for "/proxy/xxx/servletapi\jars\servletapi-2.3.jar"
> -> servletapi\servletapi\2.3\servletapi-2.3.jar.sha1
> -> servletapi\jars\servletapi-2.3.jar
> request for "/proxy/xxx/servletapi\servletapi\2.3\servletapi-2.3.jar "
> -> servletapi\servletapi\2.3\servletapi-2.3.jar
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira