if i'm understanding your problem correctly, you should be able to
define the profile with the repository settings you want and just
declare that profile in the <activeProfiles/> element near the end of
the file (http://maven.apache.org/maven2/maven-settings/settings.html)..
 that should make that profile active all the time, which effectively
makes it a global profile..

i can't seem to find it now, but i remember reading something about
that somewhere..

Saleem.


On 9/28/05, Chris Berry <[EMAIL PROTECTED]> wrote:
> Greetings,
> Can one declare a <repository> at the top level of the <settings> . In
> other words, outside of a <profile>??
>
> Many of us use a few local repos -- say, a local mirror of ibiblio or
> a local repo for internal JARs. -- common to all projects, and it
> makes sense to me that this is a global setting per user.
>
> If not, could someone explain profiles?? I get the idea behind them --
> just not how they fit into the procedure?? It appears that one does
> the following::
>
>     m2 -P myglobalprofile install
>
> which would seem a bit verbose to get at global settings -- where the
> alternative is simply
>
>    m2 install
>
> Also it would appear that, since one can declare multiple profiles;
>
>    m2 -P myglobalprofile,mylocalprofile install
>
>  then repositories must be additive??
>
> Thanks,
> -- Chris
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Saleem Shafi
Partner
Pomatics Technology Partners LTD
http://pomatics.com
ph: 512.577.1472
email: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to