Now I'm thoroughly confused...

I have one mirror defined in my settings.xml:

<mirrors>
   <mirror>
     <id>archiva.default</id>
<url>http://<urlhere>:8080/archiva/repository/internal/</url>
    <mirrorOf>*</mirrorOf>
  </mirror>
</mirrors>

(where <urlhere> is our internal server)

In archiva itsself, we have the following repositories:

1 - bertha - our original "catch-all" repository
2 - internal - the default "internal" repository from out of the box
3 - snapshots - the default "snapshot" repository from out of the box

We also have four other remote repositories defined (as we'd like to
also use archiva as a proxy).

Any time I build, maven can no longer find anything that's installed in
bertha, nor can it find any of the actual m2 plugins.

(please do forgive the noobishness of these questions)


-----Original Message-----
From: Wendy Smoak [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 29, 2008 3:14 PM
To: [email protected]
Subject: Re: Choosing which repositories you install to

On Thu, May 29, 2008 at 11:57 AM, EJ Ciramella
<[EMAIL PROTECTED]> wrote:
> I think I got way ahead of myself.
> I'm testing some of the configuration now.
>
> I misunderstood your email and thought that I could say (in pseudo
> code), "this archiva instance mirrors these 10 repositories, point
your
> settings.xml at this internal proxy and you're don" instead of having
to
> define all the various mirrors.

Instead of defining all the various mirrors, you can say:
<mirrorOf>*</mirrorOf>.

I'd be careful combining releases and snapshots into a single
repository though, those are best kept separate.

The next version of Archiva will have 'virtual repositories' which is
the ability to group several repositories under a single url.

-- 
Wendy

Reply via email to