Return-Path: Delivered-To: apmail-maven-archiva-users-archive@locus.apache.org Received: (qmail 72910 invoked from network); 7 Feb 2007 09:20:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Feb 2007 09:20:48 -0000 Received: (qmail 24022 invoked by uid 500); 7 Feb 2007 09:20:55 -0000 Delivered-To: apmail-maven-archiva-users-archive@maven.apache.org Received: (qmail 23977 invoked by uid 500); 7 Feb 2007 09:20:55 -0000 Mailing-List: contact archiva-users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: archiva-users@maven.apache.org Delivered-To: mailing list archiva-users@maven.apache.org Received: (qmail 23968 invoked by uid 99); 7 Feb 2007 09:20:55 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Feb 2007 01:20:55 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of nicolas.deloof@gmail.com designates 64.233.184.231 as permitted sender) Received: from [64.233.184.231] (HELO wr-out-0506.google.com) (64.233.184.231) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Feb 2007 01:20:43 -0800 Received: by wr-out-0506.google.com with SMTP id i28so137562wra for ; Wed, 07 Feb 2007 01:20:22 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=F3/8n1nyHaqSnUhly8EPOfM9BJHj/7IgoyxFCMnuuueRENVtgkJvmxOrdNyle0qjMOYLaIRG6ZMK1U56d2bu8jMt9MPldvqhhwnLZxLTwd2urYPaa6ZVlbiaKj9VIuzq87RyiGb7WdjK73j2+Fu+xExCi7cLFI3dx4QJqGwkwDw= Received: by 10.78.170.17 with SMTP id s17mr32842hue.1170840017519; Wed, 07 Feb 2007 01:20:17 -0800 (PST) Received: by 10.78.133.19 with HTTP; Wed, 7 Feb 2007 01:20:17 -0800 (PST) Message-ID: <4c39e3030702070120j4d5810a8s4fe195b9d2917b0f@mail.gmail.com> Date: Wed, 7 Feb 2007 10:20:17 +0100 From: "nicolas de loof" To: archiva-users@maven.apache.org Subject: Re: no "/proxy" url ? In-Reply-To: <4c40d9dc0702070110i6a713879u247ca8bda68d1954@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1615_16440654.1170840017492" References: <4c39e3030702070016x621c81c0xbfc6199a97882405@mail.gmail.com> <4c40d9dc0702070110i6a713879u247ca8bda68d1954@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_1615_16440654.1170840017492 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline This change has for side effect that archiva does not handle maven1 requests anymore : http://localhost:8080/archiva/repository/maven/activation/activation/1.0.2/activation-1.0.2.pomworks as expected and will make a maven2 client relocate to javax.activation Previous archiva builds auto-detected maven1 formatted request and converted them to "Artifacts" internal object for resolution. A special case I contributed to was to handle relocation internally for such maven1 requests, as maven1 does not read those meta-data. now http://localhost:8080/archiva/repository/maven/activation/jars/activation-1.0.2.jaris 500 error: Could not find /activation/jars/activation-1.0.2.jar in any of the repositories. This is a blocking regression for me as lot's of my projects still use maven1. 2007/2/7, Michael Horwitz : > > Hi Nicolas, > > Suffered from exactly the same problem a few weeks back - turns out the > Archiva team have removed the proxy distinction. To access your > repository, > you simply go to the webdav URL (whatever the URL you set up for the > repository). This URL now provides all the proxy functionality (at least > as > far as I have tested it), and should work for Maven 1 requests as well. > You > do need to do some extra work to get everything working though: the webdav > URL is secured, so by default will ask for a username and a password. To > allow for anonymous access, you need to grant the guest user the > repository_observer role on all your repositories. > > Another little catch to look out for with Maven 1 and Archiva is handling > of > dependencies of type plugin - not sure if the bug has been fixed, but we > had > to apply a patch to get everything working. You should find the details in > the Archiva bug tracking database, if not let me know and I can post them > up > here again. > > Mike. > > > On 2/7/07, nicolas de loof wrote: > > > > Hello, > > > > I've installed archiva from a SVN checkout. I've configured a managed > > proxy > > and a proxied on to repo1.maven.org > > > > Requesting http://localhost:8080/archiva/repository > > /maven/activation/activation/1.0.2/activation-1.0.2.pom works. > > > > Requesting http://localhost:8080/archiva/proxy > > /maven/activation/activation/1.0.2/activation-1.0.2.pom fails > > " > > HTTP ERROR: 404 > > > > There is no Action mapped for namespace / and action name proxy. Check > > if there is such an action name with such namespace defined in the > > xwork.xml and also if such an action class exists. Check also the log > > to see if the action class is successfully loaded. > > > > RequestURI=/archiva/proxy/maven/activation/activation/1.0.2/activation- > > 1.0.2.pom > > Caused by: > > > > There is no Action mapped for namespace / and action name proxy. Check > > if there is such an action name with such namespace defined in the > > xwork.xml and also if such an action class exists. Check also the log > > to see if the action class is successfully loaded. - [unknown > > location] > > at com.opensymphony.xwork.DefaultActionProxy.( > > DefaultActionProxy.java:72) > > at > > com.opensymphony.xwork.DefaultActionProxyFactory.createActionProxy( > > DefaultActionProxyFactory.java:46) > > ... > > " > > > > > > As I'm using archiva from maven1, I need the proxy feature to handle > > maven1-like requests : > > > > > > > http://localhost:8080/archiva/proxy/maven/activation/jars/activation-1.0.2.jar > > > > > > What's wrong with "/proxy" URI ? > > > ------=_Part_1615_16440654.1170840017492--