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: > > <mirrors> > <mirror> > <id>[REPO_ID]</id> > <url>[REPO_WEBDAV_URL]</url> > <mirrorOf>*</mirrorOf> > </mirror> > </mirrors> > > > 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 > <distributionManagement> section of your project's pom > > HTH, > Deng > > On Feb 5, 2008 3:17 AM, Doug Knesek <[EMAIL PROTECTED]> 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.