You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Edwin Punzalan <ep...@exist.com> on 2005/06/16 08:05:51 UTC
[M2] Remote Repository
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:bar@repo.company.com/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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [M2] Remote Repository
Posted by Brett Porter <br...@gmail.com>.
Ok, please file a bug. Sounds like a regression.
Thanks,
Brett
On 6/17/05, Edwin Punzalan <ep...@exist.com> wrote:
> 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 <ep...@exist.com> 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 <ep...@exist.com> 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:bar@repo.company.com/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: users-unsubscribe@maven.apache.org
> >>>>For additional commands, e-mail: users-help@maven.apache.org
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>---------------------------------------------------------------------
> >>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >>>For additional commands, e-mail: users-help@maven.apache.org
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >>For additional commands, e-mail: users-help@maven.apache.org
> >>
> >>
> >>
> >>
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [M2] Remote Repository
Posted by Edwin Punzalan <ep...@exist.com>.
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 <ep...@exist.com> 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 <ep...@exist.com> 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:bar@repo.company.com/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: users-unsubscribe@maven.apache.org
>>>>For additional commands, e-mail: users-help@maven.apache.org
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>
>>>
>>>
>>>
>>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>>
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>For additional commands, e-mail: users-help@maven.apache.org
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [M2] Remote Repository
Posted by Brett Porter <br...@gmail.com>.
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 <ep...@exist.com> 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 <ep...@exist.com> 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:bar@repo.company.com/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: users-unsubscribe@maven.apache.org
> >>For additional commands, e-mail: users-help@maven.apache.org
> >>
> >>
> >>
> >>
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [M2] Remote Repository
Posted by Edwin Punzalan <ep...@exist.com>.
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 <ep...@exist.com> 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:bar@repo.company.com/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: users-unsubscribe@maven.apache.org
>>For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>>
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>For additional commands, e-mail: users-help@maven.apache.org
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [M2] Remote Repository
Posted by Brett Porter <br...@gmail.com>.
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 <ep...@exist.com> 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:bar@repo.company.com/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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org