Maven 1

Per-dependency remote repository

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Won't Fix
  • Affects Version/s: 1.0.2
  • Fix Version/s: None
  • Component/s: model additions
  • Labels:
    None
  • Number of attachments :
    0

Description

There are times when you know a certain snapshot dependency resides only in a particular repository.

It would be nice to be able to specify the remote repository for such dependency so that Maven only connects to that repository to get it.

Although there is no build failure currently, this improvement would eliminate lots of 404 http responses and shorten build time when handling large multiproject or reactor based build.

Activity

Hide
Brett Porter added a comment -

we've decided against doing this, as it is not compatible with transitive dependencies. There are per project repositories, and the preferred solution is to run a repository manager like maven-proxy to be the central repository go between.

Show
Brett Porter added a comment - we've decided against doing this, as it is not compatible with transitive dependencies. There are per project repositories, and the preferred solution is to run a repository manager like maven-proxy to be the central repository go between.
Hide
Wendy Smoak added a comment -

See http://maven.apache.org/repository-management.html for more information on repository management.

Show
Wendy Smoak added a comment - See http://maven.apache.org/repository-management.html for more information on repository management.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: