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.
>
>