Sign to dependencies which is the better repository to search for
-----------------------------------------------------------------

                 Key: MNG-4967
                 URL: http://jira.codehaus.org/browse/MNG-4967
             Project: Maven 2 & 3
          Issue Type: Improvement
         Environment: All OS, plataforms and hardware
            Reporter: Victor Dolirio Ferreira Barbosa
            Priority: Critical


I don't know if it was noted by somebody before but I've noted this. In long 
term as project is growing to many repositories must be added into the pom. The 
problem is raising when Maven download the dependencies. It indeed start a 
journey in all declared  repositories trying to find the dependency files 
(dependency by dependency). This process becomes exponentially expensive as 
project grows. My suggestion of improvement is to add a new tag in the 
dependency to sign maven what is the first repository to search for the files, 
something like this:

<dependency>
  <artifactId>...
  ...
  <repository>the-repository-id</repository>
</dependency>

I really would like that this improvement be implemented cause it would reduce 
too much time wasted.. Don't matter whether this be implemented in the way I've 
suggested or not.

[]s

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to