Return-Path: Delivered-To: apmail-maven-archiva-users-archive@locus.apache.org Received: (qmail 19102 invoked from network); 7 Feb 2008 09:01:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Feb 2008 09:01:51 -0000 Received: (qmail 12565 invoked by uid 500); 7 Feb 2008 09:01:43 -0000 Delivered-To: apmail-maven-archiva-users-archive@maven.apache.org Received: (qmail 12516 invoked by uid 500); 7 Feb 2008 09:01:43 -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 12507 invoked by uid 99); 7 Feb 2008 09:01:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Feb 2008 01:01:43 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of oching@exist.com designates 64.233.178.245 as permitted sender) Received: from [64.233.178.245] (HELO hs-out-2122.google.com) (64.233.178.245) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Feb 2008 09:01:11 +0000 Received: by hs-out-2122.google.com with SMTP id n78so779851hsc.12 for ; Thu, 07 Feb 2008 01:01:17 -0800 (PST) Received: by 10.142.194.1 with SMTP id r1mr5927744wff.123.1202374876643; Thu, 07 Feb 2008 01:01:16 -0800 (PST) Received: by 10.143.121.3 with HTTP; Thu, 7 Feb 2008 01:01:16 -0800 (PST) Message-ID: <1a57a2980802070101w5d94b1ecsf101ede0bccd7019@mail.gmail.com> Date: Thu, 7 Feb 2008 17:01:16 +0800 From: "Maria Odea Ching" Sender: oching@exist.com To: archiva-users@maven.apache.org Subject: Re: Basic Repository Proxying settings In-Reply-To: <15312074.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_27640_17873990.1202374876639" References: <15275126.post@talk.nabble.com> <1a57a2980802050055qad28f70pf7d07a53da14a790@mail.gmail.com> <15291547.post@talk.nabble.com> <1a57a2980802060222l11bce6f1p5a3a9bd61bba638e@mail.gmail.com> <15312074.post@talk.nabble.com> X-Google-Sender-Auth: 99ec401ecfe67fdc X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_27640_17873990.1202374876639 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hmm.. it worked for me when I tried it out yesterday. Maybe you just missed a configuration? :) The Repo Observer role is a subset of the Repo Manager role so you don't need to assign the user with that role if he/she is already a repo manager. The logs (archiva.log) btw are in the 'logs' directory of the Archiva installation.. -Deng On Feb 7, 2008 3:27 AM, Doug Knesek wrote: > > This has been done from the very beginning. Actually, I created an > archiva > user and assigned that user the role of "repository manager" and set up > the > settings.xml like you have described. This has not worked. > > Do I need to make the user a "repository observer" also? Are there > logging > options that might help me determine if archiva is even getting the > request > to proxy a request? > > > Maria Odea Ching-5 wrote: > > > > Sorry, I forgot to include that you need to do either of these two: > > 1. Grant the repository observer role for your repo to user 'guest', OR > > 2. Create a user in Archiva and assign it with the repository observer > > role > > for your repo, then set this in your settings.xml as well: > > > > [REPO_ID] > > [USERNAME] > > [PASSWORD] > > > > > > -Deng > > > > On Feb 5, 2008 11:56 PM, Doug Knesek wrote: > > > >> > >> I've essentially done all of the steps you listed. But my builds fail > >> immediately with: > >> > >> [INFO] artifact org.apache.maven.plugins:maven-clean-plugin: checking > for > >> updates from central > >> [WARNING] repository metadata for: 'artifact > >> org.apache.plugins:maven-clean-plugin' could not be retrieved from > >> repository: central due to an error: Error transferring file > >> [INFO] Repository 'central' will be blacklisted > >> [INFO] ---------------------------------------- > >> [ERROR] BUILD ERROR > >> > >> I am using Maven 2.0.8. I there something special I have to do for > >> plugins? > >> > >> > >> Maria Odea Ching-5 wrote: > >> > > >> > Hi Doug, > >> > > >> > To force Maven to use only your Archiva managed repository (if you > >> don't > >> > want to use the pre-configured 'internal' repository), you need to do > >> the > >> > ff: > >> > 1. Create a managed repository in Archiva > >> > 2. By default, the central and java.net repos are already > >> pre-configured. > >> > You can add another remote repository you want to proxy though. > >> > 3. In the Proxy Connectors page, create a new proxy connector. Set > the > >> > managed repo you've added to proxy a remote repository from the list. > >> > 4. Set the following in your settings.xml file: > >> > > >> > > >> > > >> > [REPO_ID] > >> > [REPO_WEBDAV_URL] > >> > * > >> > > >> > > >> > > >> > > >> > Now, to set-up a deployment repository managed by Archiva.. > >> > 1. Create a new managed repo in Archiva > >> > 2. Then set the webdav url of this managed repo in the > >> > section of your project's pom > >> > > >> > HTH, > >> > Deng > >> > > >> > On Feb 5, 2008 3:17 AM, Doug Knesek wrote: > >> > > >> >> > >> >> I find the settings in the documentation about repository proxying > to > >> be > >> >> unclear. Here is what I'm trying to do: > >> >> > >> >> I want to force all my maven repository lookups to go through > archiva > >> - > >> >> but > >> >> I want it to behave just like a default maven installation except > that > >> I > >> >> want my own deployments to be reside on my own repository managed by > >> >> archiva. > >> >> > >> >> What maven/archiva settings would be required to make this happen? > >> >> > >> >> Thank you, > >> >> - Doug > >> >> -- > >> >> View this message in context: > >> >> > >> > http://www.nabble.com/Basic-Repository-Proxying-settings-tp15275126p15275126.html > >> >> Sent from the archiva-users mailing list archive at Nabble.com. > >> >> > >> >> > >> > > >> > > >> > >> -- > >> View this message in context: > >> > http://www.nabble.com/Basic-Repository-Proxying-settings-tp15275126p15291547.html > >> Sent from the archiva-users mailing list archive at Nabble.com. > >> > >> > > > > > > -- > View this message in context: > http://www.nabble.com/Basic-Repository-Proxying-settings-tp15275126p15312074.html > Sent from the archiva-users mailing list archive at Nabble.com. > > ------=_Part_27640_17873990.1202374876639--