
|
How to proxy only a sub part of a remote repository
Hi
I'm setting up a new nexus pro instance
Is it possible ?
Using an inclusive routing rule allow me to get artifacts from this repo but it doesn't allow to exclude others artifacts And I cannot create an exclusion rule for groupIds I don't want. There are too numerous
Any idea ?
Note : in Archiva I was able to put inclusion/exclusion rules for each remote proxy :-)
Cheers, Arnaud # Arnaud Héritier # Software Factory Manager
# eXo Platform # http://www.exoplatform.com# http://blog.aheritier.net
|

|
Re: How to proxy only a sub part of a remote repository
Perhaps it could be possible to create a regexp to create an exclusion rule for "everything excepted .*/org/jboss/.*" But I'm not a regexp guru :-( Perhaps some samples of advanced regexp in the doc could help us.
Cheers, Arnaud # Arnaud Héritier # Software Factory Manager # eXo Platform # http://www.exoplatform.com# http://blog.aheritier.net
On Tue, Sep 29, 2009 at 9:16 AM, Arnaud HERITIER <arnaud.heritier@...> wrote:
Hi
I'm setting up a new nexus pro instance
Is it possible ?
Using an inclusive routing rule allow me to get artifacts from this repo but it doesn't allow to exclude others artifacts And I cannot create an exclusion rule for groupIds I don't want. There are too numerous
Any idea ?
Note : in Archiva I was able to put inclusion/exclusion rules for each remote proxy :-)
Cheers,
Arnaud
# Arnaud Héritier # Software Factory Manager
# eXo Platform # http://www.exoplatform.com # http://blog.aheritier.net
|

|
Re: Re: How to proxy only a sub part of a remote repository
"Nexus Routes are like filters you can apply to Nexus Groups, they
allow you to configure Nexus to include or exclude repositories from a
particular artifact search when Nexus is trying to locate an artifact in
a Nexus Group. " see: http://www.sonatype.com/books/nexus-book/reference/config.html#config-sect-managing-routes
what you really need is procurement: "Another, more common experience is an organization which needs to
proxy something like the Central Maven Repository but wants to limit
access to specific versions of artifacts or prevent dependencies on
everything contained under a specific group." see: http://www.sonatype.com/books/nexus-book/reference/procure.html
On Tue, Sep 29, 2009 at 3:32 PM, Arnaud HERITIER <arnaud.heritier@...> wrote:
Perhaps it could be possible to create a regexp to create an exclusion rule for "everything excepted .*/org/jboss/.*"But I'm not a regexp guru :-( Perhaps some samples of advanced regexp in the doc could help us.
On Tue, Sep 29, 2009 at 9:16 AM, Arnaud HERITIER <arnaud.heritier@...> wrote:
Hi
I'm setting up a new nexus pro instance
Is it possible ?
Using an inclusive routing rule allow me to get artifacts from this repo but it doesn't allow to exclude others artifacts And I cannot create an exclusion rule for groupIds I don't want. There are too numerous
Any idea ?
Note : in Archiva I was able to put inclusion/exclusion rules for each remote proxy :-)
Cheers,
Arnaud
# Arnaud Héritier # Software Factory Manager
# eXo Platform # http://www.exoplatform.com # http://blog.aheritier.net
-- - juven
|

|
Re: Re: How to proxy only a sub part of a remote repository
Thx Juven.
I never used the procuration feature. I'll test it. Cheers, Arnaud # Arnaud Héritier # Software Factory Manager # eXo Platform # http://www.exoplatform.com
# http://blog.aheritier.net
On Tue, Sep 29, 2009 at 11:11 AM, Juven Xu <juven@...> wrote:
"Nexus Routes are like filters you can apply to Nexus Groups, they
allow you to configure Nexus to include or exclude repositories from a
particular artifact search when Nexus is trying to locate an artifact in
a Nexus Group. "
see: http://www.sonatype.com/books/nexus-book/reference/config.html#config-sect-managing-routes
what you really need is procurement:
"Another, more common experience is an organization which needs to
proxy something like the Central Maven Repository but wants to limit
access to specific versions of artifacts or prevent dependencies on
everything contained under a specific group."
see: http://www.sonatype.com/books/nexus-book/reference/procure.html
On Tue, Sep 29, 2009 at 3:32 PM, Arnaud HERITIER <arnaud.heritier@...> wrote:
Perhaps it could be possible to create a regexp to create an exclusion rule for "everything excepted .*/org/jboss/.*"But I'm not a regexp guru :-( Perhaps some samples of advanced regexp in the doc could help us.
On Tue, Sep 29, 2009 at 9:16 AM, Arnaud HERITIER <arnaud.heritier@...> wrote:
Hi
I'm setting up a new nexus pro instance
Is it possible ?
Using an inclusive routing rule allow me to get artifacts from this repo but it doesn't allow to exclude others artifacts And I cannot create an exclusion rule for groupIds I don't want. There are too numerous
Any idea ?
Note : in Archiva I was able to put inclusion/exclusion rules for each remote proxy :-)
Cheers,
Arnaud
# Arnaud Héritier # Software Factory Manager
# eXo Platform # http://www.exoplatform.com # http://blog.aheritier.net
-- - juven
|

|
Re: Re: How to proxy only a sub part of a remote repository
I doesn't seem to work. Nothing happens. In the doc, it is said that we have to activate the download of the remote index. But is it supposed to work if the remote repo doesn't delivers an index ?
On Tue, Sep 29, 2009 at 1:12 PM, Arnaud HERITIER <aheritier@...> wrote:
Thx Juven.
I never used the procuration feature. I'll test it. On Tue, Sep 29, 2009 at 11:11 AM, Juven Xu <juven@...> wrote:
"Nexus Routes are like filters you can apply to Nexus Groups, they
allow you to configure Nexus to include or exclude repositories from a
particular artifact search when Nexus is trying to locate an artifact in
a Nexus Group. "
see: http://www.sonatype.com/books/nexus-book/reference/config.html#config-sect-managing-routes
what you really need is procurement:
"Another, more common experience is an organization which needs to
proxy something like the Central Maven Repository but wants to limit
access to specific versions of artifacts or prevent dependencies on
everything contained under a specific group."
see: http://www.sonatype.com/books/nexus-book/reference/procure.html
On Tue, Sep 29, 2009 at 3:32 PM, Arnaud HERITIER <arnaud.heritier@...> wrote:
Perhaps it could be possible to create a regexp to create an exclusion rule for "everything excepted .*/org/jboss/.*"But I'm not a regexp guru :-( Perhaps some samples of advanced regexp in the doc could help us.
On Tue, Sep 29, 2009 at 9:16 AM, Arnaud HERITIER <arnaud.heritier@...> wrote:
Hi
I'm setting up a new nexus pro instance
Is it possible ?
Using an inclusive routing rule allow me to get artifacts from this repo but it doesn't allow to exclude others artifacts And I cannot create an exclusion rule for groupIds I don't want. There are too numerous
Any idea ?
Note : in Archiva I was able to put inclusion/exclusion rules for each remote proxy :-)
Cheers,
Arnaud
# Arnaud Héritier # Software Factory Manager
# eXo Platform # http://www.exoplatform.com # http://blog.aheritier.net
-- - juven
|

|
Re: Re: How to proxy only a sub part of a remote repository
log from irc: <aheritier> Can we use procuration repo if the proxified repo doesn't generate an index ?
<cstamas> aheritier: yes, you can add rules "manually" <cstamas> aheritier: the index is used only to "visualize" the repo as a tree (a GAV tree)
On Tue, Sep 29, 2009 at 9:47 PM, Arnaud HERITIER <aheritier@...> wrote:
I doesn't seem to work. Nothing happens.In the doc, it is said that we have to activate the download of the remote index. But is it supposed to work if the remote repo doesn't delivers an index ?
On Tue, Sep 29, 2009 at 1:12 PM, Arnaud HERITIER <aheritier@...> wrote:
Thx Juven.
I never used the procuration feature. I'll test it. On Tue, Sep 29, 2009 at 11:11 AM, Juven Xu <juven@...> wrote:
"Nexus Routes are like filters you can apply to Nexus Groups, they
allow you to configure Nexus to include or exclude repositories from a
particular artifact search when Nexus is trying to locate an artifact in
a Nexus Group. "
see: http://www.sonatype.com/books/nexus-book/reference/config.html#config-sect-managing-routes
what you really need is procurement:
"Another, more common experience is an organization which needs to
proxy something like the Central Maven Repository but wants to limit
access to specific versions of artifacts or prevent dependencies on
everything contained under a specific group."
see: http://www.sonatype.com/books/nexus-book/reference/procure.html
On Tue, Sep 29, 2009 at 3:32 PM, Arnaud HERITIER <arnaud.heritier@...> wrote:
Perhaps it could be possible to create a regexp to create an exclusion rule for "everything excepted .*/org/jboss/.*"But I'm not a regexp guru :-( Perhaps some samples of advanced regexp in the doc could help us.
On Tue, Sep 29, 2009 at 9:16 AM, Arnaud HERITIER <arnaud.heritier@...> wrote:
Hi
I'm setting up a new nexus pro instance
Is it possible ?
Using an inclusive routing rule allow me to get artifacts from this repo but it doesn't allow to exclude others artifacts And I cannot create an exclusion rule for groupIds I don't want. There are too numerous
Any idea ?
Note : in Archiva I was able to put inclusion/exclusion rules for each remote proxy :-)
Cheers,
Arnaud
# Arnaud Héritier # Software Factory Manager
# eXo Platform # http://www.exoplatform.com # http://blog.aheritier.net
-- - juven
-- - juven
|