[ http://jira.codehaus.org/browse/MRM-155?page=all ]
nicolas de loof updated MRM-155: -------------------------------- Attachment: DefaultProxyRequestHandler.java.patch patch Updated for "archiva" renamed project, with some cleanup from debug logs I've accidently included in previous patch > 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 > > > 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