That would in part align things with Aether's somewhat annoying/retarded behaviour of saying "oh I see com.acme:special tool:1.0-alpha-1" but it came from repo-1, not repo-2 - so "suck it up - I can't resolve this.".

I can understand the idea behind this - two artefacts from two different repositories _may_ share the same GAV and yet be totally different, but I find that to be so rare that that I probably never want this to not resolve ( that causes lots of annoying issues with using a mirror, and having to temporarily disable said mirror ).

I could see this change also breaking under mirrors, or maybe that's just when using mirror:*


On 5 Jul 2014, at 4:56, Robert Scholte wrote:

To me it would make sense if you could add a reference to the repository per dependency, like

<dependency>
<groupId>com.acme</groupId>
<artifactId>specialtool</artifactId>
<version>1.0-alpha-1</version>
<repositoryId>acme-store</repositoryId> <!-- only look in this repo, I know it's not in Central -->
</dependency>

Reply via email to