You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@archiva.apache.org by Rajesh Koilpillai <ra...@gmail.com> on 2010/03/10 16:24:20 UTC
maven bypasses proxy connectors
The maven repository is configured with a single internal archiva URL and
proxy connectors have been added for remote repositories. While trying to
setup a new environment (with an empty local repository) the maven runtime
(2.2.0) seems to fetch files directly from external repositories for certain
plug-ins, but apparently they don't get indexed within Archiva. How do we
configure this to work properly
--
Thanks,
- Rajesh Koilpillai
Re: maven bypasses proxy connectors
Posted by Rajesh Koilpillai <ra...@gmail.com>.
Thanks, the settings.xml had a misconfiguration and it was pointing to a
older archiva instance which was the root cause of the problem.
On Fri, Mar 12, 2010 at 8:37 AM, Deng Ching <oc...@apache.org> wrote:
> Hi Rajesh,
>
> How did you configure your settings.xml? You can set the Archiva proxy as a
> mirror to all repositories by setting <mirrorOf>*</mirrorOf> in your
> settings.xml.
> You can take a look at the guide and examples for configuring and using the
> Archiva repos with Maven here:
> http://archiva.apache.org/docs/1.3/userguide/using-repository.html
>
> HTH,
> Deng
>
> On Wed, Mar 10, 2010 at 11:24 PM, Rajesh Koilpillai <
> rajesh.koilpillai@gmail.com> wrote:
>
> > The maven repository is configured with a single internal archiva URL and
> > proxy connectors have been added for remote repositories. While trying to
> > setup a new environment (with an empty local repository) the maven
> runtime
> > (2.2.0) seems to fetch files directly from external repositories for
> > certain
> > plug-ins, but apparently they don't get indexed within Archiva. How do we
> > configure this to work properly
> >
> > --
> > Thanks,
> > - Rajesh Koilpillai
> >
>
--
Thanks,
- Rajesh Koilpillai
Re: maven bypasses proxy connectors
Posted by Deng Ching <oc...@apache.org>.
Hi Rajesh,
How did you configure your settings.xml? You can set the Archiva proxy as a
mirror to all repositories by setting <mirrorOf>*</mirrorOf> in your
settings.xml.
You can take a look at the guide and examples for configuring and using the
Archiva repos with Maven here:
http://archiva.apache.org/docs/1.3/userguide/using-repository.html
HTH,
Deng
On Wed, Mar 10, 2010 at 11:24 PM, Rajesh Koilpillai <
rajesh.koilpillai@gmail.com> wrote:
> The maven repository is configured with a single internal archiva URL and
> proxy connectors have been added for remote repositories. While trying to
> setup a new environment (with an empty local repository) the maven runtime
> (2.2.0) seems to fetch files directly from external repositories for
> certain
> plug-ins, but apparently they don't get indexed within Archiva. How do we
> configure this to work properly
>
> --
> Thanks,
> - Rajesh Koilpillai
>
Re: maven bypasses proxy connectors
Posted by Brett Porter <br...@apache.org>.
Can you show us your settings.xml configuration? Both your email seem to indicate Maven is not actually talking to Archiva.
On 11/03/2010, at 2:24 AM, Rajesh Koilpillai wrote:
> The maven repository is configured with a single internal archiva URL and
> proxy connectors have been added for remote repositories. While trying to
> setup a new environment (with an empty local repository) the maven runtime
> (2.2.0) seems to fetch files directly from external repositories for certain
> plug-ins, but apparently they don't get indexed within Archiva. How do we
> configure this to work properly
>
> --
> Thanks,
> - Rajesh Koilpillai
--
Brett Porter
brett@apache.org
http://brettporter.wordpress.com/