Can I assign a maven dependency to a specific repo?
Posted
by mds
on Stack Overflow
See other posts from Stack Overflow
or by mds
Published on 2010-06-18T02:37:28Z
Indexed on
2010/06/18
2:43 UTC
Read the original article
Hit count: 265
So I have several large projects that use up to 8 different external repos, all specified in settings.xml rather than in poms. A lot of our internal dependencies are snapshots, so this obviously causes a lot of checking for updates across several external repos, when they are all in our internal repo.
So my question is, is there a way to setup a profile/filter or anything similar where I can ensure that an update will only be checked for in a specific repo(s)?
This is all in the spirit of better/quicker builds.
Thanks!
© Stack Overflow or respective owner