What I am trying to do is really the former. I want to override the central repo and probably set the default repo as mirror.

However, I've done what you've said yesterday by changing "maven" to "central" and it didn't work.


Brett Porter wrote:

Yes, correct. However, do you really want to override the repo, or are
you providing a mirror to use instead? It sounds more like the latter,
but that has to go in your settings file.

- Brett

On 6/16/05, Edwin Punzalan <[EMAIL PROTECTED]> wrote:
Thanks, Brett.

But I tried that and it didn't changed.

Please verify... I'll be changing the "maven" to "central" inside the
<id> tag right?


Brett Porter wrote:

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]




---------------------------------------------------------------------
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]



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

Reply via email to