java - Maven multiple repositories -- how exactly does maven decide which repo to fetch which artifact? -


i have project needs fetch artifacts 2 different repos. , artifacts inside repos have dependencies 1 another. example, project might depend on artifact (in repo 1), depends on artifact b( in repo 2), again depends on artifact c (in repo 1 again).

i having lot of trouble configuring settings.xml make work (for example mvn tries go repo 1 artifact b, wrong). got clue how exaclty decided in maven?


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -