Howdy,

see https://maven.apache.org/resolver/remote-repository-filtering.html
demo is here: https://github.com/cstamas/rrf-demo

For your case, you just want to ensure that group rules are disjunct
(no overlapping).
But, for central you most probably don't want this,

T

On Fri, Feb 14, 2025 at 8:30 PM Yeikel Santana <em...@yeikel.com> wrote:
>
> Hi all,
>
> Are you aware of any method to configure Maven to pull dependencies from a 
> specific repository?
>
> Say I have a build with n dependencies and n repositories configured where I 
> set where each dependency should be sourced from
>
> As far as I know,  this is not possible out of the box as Maven scans each 
> repository in order until it finds a match.
>
> Is there a way to explicitly configure Maven to pull dependencies from a 
> specific source (or fail if unavailable)
>
> If not Maven 4, it'd be an interesting feature for future Maven versions
>
> Thank you

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

Reply via email to