In addition to our hangout session: isn't it weird that for a dependency Maven can go over all the repositories, even though when an extra repository is added to the pom.xml, the developer knows exactly which dependencies should make use of that repository.

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>

Robert

Op Thu, 03 Jul 2014 00:37:17 +0200 schreef Mark Derricutt <[email protected]>:

On 3 Jul 2014, at 6:25, Robert Scholte wrote:

This is probably more than enough for tomorrow.

A discussion on a merits and flaws of <repositories> (when combined with mirrors) is also warranted after some previous discussion on the list.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to