Return-Path: Delivered-To: apmail-maven-issues-archive@locus.apache.org Received: (qmail 28563 invoked from network); 31 Aug 2006 07:34:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 Aug 2006 07:34:34 -0000 Received: (qmail 52126 invoked by uid 500); 31 Aug 2006 07:34:33 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 51795 invoked by uid 500); 31 Aug 2006 07:34:32 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 51782 invoked by uid 99); 31 Aug 2006 07:34:32 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Aug 2006 00:34:32 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [63.246.20.114] (HELO 63-246-20-114.contegix.com) (63.246.20.114) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Aug 2006 00:34:31 -0700 Received: (qmail 29363 invoked by uid 89); 31 Aug 2006 07:34:09 -0000 Received: from unknown (HELO codehaus01.managed.contegix.com) (127.0.0.1) by smtp.domain.com with SMTP; 31 Aug 2006 07:34:09 -0000 Message-ID: <82008202.1157009646747.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Thu, 31 Aug 2006 02:34:06 -0500 (CDT) From: "nicolas de loof (JIRA)" To: issues@maven.apache.org Subject: [jira] Updated: (MRM-155) When proxy is used by maven1artifact are stored in managed repo using legacy layout. In-Reply-To: <66999703.1156428168182.JavaMail.haus-jira@codehaus01.managed.contegix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://jira.codehaus.org/browse/MRM-155?page=all ] nicolas de loof updated MRM-155: -------------------------------- Attachment: MRM-155.patch Repackaged patch to include testcase. adds "testLegacyRequestConvertedToMaven2PathInManagedRepo" to ProxyRequestHandlerTest. > 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