[ http://jira.codehaus.org/browse/MRM-155?page=comments#action_73855 ] 
            
Brett Porter commented on MRM-155:
----------------------------------

I removed:
                if ( target.exists() ) 
                {                    
                    break;
                }                

Because it caused additional snapshot repositories to be checked as they should 
be (as shown by the metadata merging test failure)

> 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

        

Reply via email to