Hi Edwin,

You need to use the id "central" to override the normal repository,
otherwise both will be used.

Cheers,
Brett

On 6/16/05, Edwin Punzalan <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I tried to override the default remote repository in my pom.xml:
> 
>     <repositories>
>         <repository>
>             <id>maven</id>
>             <name>Maven repository</name>
>             <url>http://foo:[EMAIL PROTECTED]/maven</url>
>         </repository>
>     </repositories>
> 
> However, m2 seems to be using the above repository only as backup, after
> http://repo1.maven.org/maven2...
> 
> Is my pom.xml wrong or is this normal?  How do I override the default
> remote repository then?
> 
> Thanks.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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

Reply via email to