You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "daniel.green" <oc...@gmail.com> on 2009/06/02 22:02:47 UTC

Excluding default repositories

Is it possible to exclude default repositories? I need to ensure that all
dependencies are taken only from the repositories that I specify.
-- 
View this message in context: http://www.nabble.com/Excluding-default-repositories-tp23839715p23839715.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Excluding default repositories

Posted by "daniel.green" <oc...@gmail.com>.
So... something like the following and I should be set?

  <mirrors>
    <mirror>
      <id>onsite-repo</id>
      <name>On-Site Artifact Repository</name>
      <url>http://foo.bar/baz/</url>
      <mirrorOf>*</mirrorOf>
    </mirror>
  </mirrors>


Stephen Connolly-2 wrote:
> 
> Yep... point everything at your repository
> 
> <mirrorOf>*</mirrorOf>
> 
> FYI, you want to do this anyway as running a repository manager is pretty
> much essential these days
> 
> 2009/6/2 daniel.green <oc...@gmail.com>
> 
>>
>> So point the proxies for the default repositories at my onsite
>> repository?
>>
>>
>> Stephen Connolly-2 wrote:
>> >
>> > you need to use a repository manager and have it proxy all repositories
>> in
>> > your settings.xml
>> >
>> > 2009/6/2 daniel.green <oc...@gmail.com>
>> >
>> >>
>> >> Is it possible to exclude default repositories? I need to ensure that
>> all
>> >> dependencies are taken only from the repositories that I specify.
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/Excluding-default-repositories-tp23839715p23839715.html
>> >> Sent from the Maven - Users mailing list archive at Nabble.com.
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> >> For additional commands, e-mail: users-help@maven.apache.org
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Excluding-default-repositories-tp23839715p23841313.html
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/Excluding-default-repositories-tp23839715p23950222.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Excluding default repositories

Posted by Stephen Connolly <st...@gmail.com>.
not that I know

2009/6/4 daniel.green <oc...@gmail.com>

>
> Is there a way to apply this to this project specifically? This is for a
> shared project. Ideally it'd be alongside the pom.
>
>
> Stephen Connolly-2 wrote:
> >
> > Yep... point everything at your repository
> >
> > <mirrorOf>*</mirrorOf>
> >
> > FYI, you want to do this anyway as running a repository manager is pretty
> > much essential these days
> >
> > 2009/6/2 daniel.green <oc...@gmail.com>
> >
> >>
> >> So point the proxies for the default repositories at my onsite
> >> repository?
> >>
> >>
> >> Stephen Connolly-2 wrote:
> >> >
> >> > you need to use a repository manager and have it proxy all
> repositories
> >> in
> >> > your settings.xml
> >> >
> >> > 2009/6/2 daniel.green <oc...@gmail.com>
> >> >
> >> >>
> >> >> Is it possible to exclude default repositories? I need to ensure that
> >> all
> >> >> dependencies are taken only from the repositories that I specify.
> >> >> --
> >> >> View this message in context:
> >> >>
> >>
> http://www.nabble.com/Excluding-default-repositories-tp23839715p23839715.html
> >> >> Sent from the Maven - Users mailing list archive at Nabble.com.
> >> >>
> >> >>
> >> >> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >> >> For additional commands, e-mail: users-help@maven.apache.org
> >> >>
> >> >>
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Excluding-default-repositories-tp23839715p23841313.html
> >> Sent from the Maven - Users mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >> For additional commands, e-mail: users-help@maven.apache.org
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Excluding-default-repositories-tp23839715p23870820.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: Excluding default repositories

Posted by "daniel.green" <oc...@gmail.com>.
Is there a way to apply this to this project specifically? This is for a
shared project. Ideally it'd be alongside the pom.


Stephen Connolly-2 wrote:
> 
> Yep... point everything at your repository
> 
> <mirrorOf>*</mirrorOf>
> 
> FYI, you want to do this anyway as running a repository manager is pretty
> much essential these days
> 
> 2009/6/2 daniel.green <oc...@gmail.com>
> 
>>
>> So point the proxies for the default repositories at my onsite
>> repository?
>>
>>
>> Stephen Connolly-2 wrote:
>> >
>> > you need to use a repository manager and have it proxy all repositories
>> in
>> > your settings.xml
>> >
>> > 2009/6/2 daniel.green <oc...@gmail.com>
>> >
>> >>
>> >> Is it possible to exclude default repositories? I need to ensure that
>> all
>> >> dependencies are taken only from the repositories that I specify.
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/Excluding-default-repositories-tp23839715p23839715.html
>> >> Sent from the Maven - Users mailing list archive at Nabble.com.
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> >> For additional commands, e-mail: users-help@maven.apache.org
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Excluding-default-repositories-tp23839715p23841313.html
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/Excluding-default-repositories-tp23839715p23870820.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Excluding default repositories

Posted by "daniel.green" <oc...@gmail.com>.
    <mirror>
      <id>internal-repository</id>
      <name>[Redacted] Maven Repository</name>
      <url>http://[redacted]/artifactory/repo</url>
      <mirrorOf>*</mirrorOf>
    </mirror>

However, snapshots don't seem to be resolving correctly. What else do I need
to do?


Stephen Connolly-2 wrote:
> 
> Yep... point everything at your repository
> 
> <mirrorOf>*</mirrorOf>
> 
> FYI, you want to do this anyway as running a repository manager is pretty
> much essential these days
> 
> 2009/6/2 daniel.green <oc...@gmail.com>
> 
>>
>> So point the proxies for the default repositories at my onsite
>> repository?
>>
>>
>> Stephen Connolly-2 wrote:
>> >
>> > you need to use a repository manager and have it proxy all repositories
>> in
>> > your settings.xml
>> >
>> > 2009/6/2 daniel.green <oc...@gmail.com>
>> >
>> >>
>> >> Is it possible to exclude default repositories? I need to ensure that
>> all
>> >> dependencies are taken only from the repositories that I specify.
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/Excluding-default-repositories-tp23839715p23839715.html
>> >> Sent from the Maven - Users mailing list archive at Nabble.com.
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> >> For additional commands, e-mail: users-help@maven.apache.org
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Excluding-default-repositories-tp23839715p23841313.html
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/Excluding-default-repositories-tp23839715p24058641.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Excluding default repositories

Posted by Stephen Connolly <st...@gmail.com>.
Yep... point everything at your repository

<mirrorOf>*</mirrorOf>

FYI, you want to do this anyway as running a repository manager is pretty
much essential these days

2009/6/2 daniel.green <oc...@gmail.com>

>
> So point the proxies for the default repositories at my onsite repository?
>
>
> Stephen Connolly-2 wrote:
> >
> > you need to use a repository manager and have it proxy all repositories
> in
> > your settings.xml
> >
> > 2009/6/2 daniel.green <oc...@gmail.com>
> >
> >>
> >> Is it possible to exclude default repositories? I need to ensure that
> all
> >> dependencies are taken only from the repositories that I specify.
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Excluding-default-repositories-tp23839715p23839715.html
> >> Sent from the Maven - Users mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >> For additional commands, e-mail: users-help@maven.apache.org
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Excluding-default-repositories-tp23839715p23841313.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: Excluding default repositories

Posted by "daniel.green" <oc...@gmail.com>.
So point the proxies for the default repositories at my onsite repository?


Stephen Connolly-2 wrote:
> 
> you need to use a repository manager and have it proxy all repositories in
> your settings.xml
> 
> 2009/6/2 daniel.green <oc...@gmail.com>
> 
>>
>> Is it possible to exclude default repositories? I need to ensure that all
>> dependencies are taken only from the repositories that I specify.
>> --
>> View this message in context:
>> http://www.nabble.com/Excluding-default-repositories-tp23839715p23839715.html
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/Excluding-default-repositories-tp23839715p23841313.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Excluding default repositories

Posted by Stephen Connolly <st...@gmail.com>.
you need to use a repository manager and have it proxy all repositories in
your settings.xml

2009/6/2 daniel.green <oc...@gmail.com>

>
> Is it possible to exclude default repositories? I need to ensure that all
> dependencies are taken only from the repositories that I specify.
> --
> View this message in context:
> http://www.nabble.com/Excluding-default-repositories-tp23839715p23839715.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>