There are 2 options of defining the repositories.

You can define the repositories in the pom.xml, but that will be specific to
the maven project.

or

settings.xml:

You cannot define the repositories outside the <profile> tag.

You can enable a profile by default by using the <activation> tag in the
profile.

<activation>
      <activeByDefault>true</activeByDefault>



On Sat, Feb 20, 2010 at 6:26 PM, Stephane Eybert <[email protected]>wrote:

>
> I'd like to have this by default. Can I have this setup outside of any
> profile so as not to make it profile specific ?
>
> If I can I would prefer not to have to specify a profile simply to setup a
> repository.
> --
> View this message in context:
> http://old.nabble.com/Adding-a-repository-to-the-settings.xml-tp27664272p27666165.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to