Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Artifacts and Repositories
-
Labels:None
-
Complexity:Intermediate
-
Number of attachments :
Description
It would be good if Maven used a separate local repository directory for each remote repository that was used. This would avoid the problem of two repositories using the same GAV for a different artifact. This would also allow the user to easily see where an artifact in the local repository was downloaded from.
In addition the local repository used for "mvn install" could also be separated, so that it would not conflict with artifacts downloaded from remote repositories.
Issue Links
- duplicates
-
MNG-3655
Allow multiple local repositories
-
Activity
Paul Gier
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Description | It would be good if Maven used a separate local repository directory for each remote repository that was used. This would avoid the problem of two repositories using the same GAV for a different artifact. This would also allow the user to easily see where an artifact in the local repository was downloaded from. |
It would be good if Maven used a separate local repository directory for each remote repository that was used. This would avoid the problem of two repositories using the same GAV for a different artifact. This would also allow the user to easily see where an artifact in the local repository was downloaded from.
In addition the local repository used for "mvn install" could also be separated, so that it would not conflict with artifacts downloaded from remote repositories. |
Brett Porter
made changes -
Brett Porter
made changes -
| Status | Open [ 1 ] | Closed [ 6 ] |
| Assignee | Brett Porter [ brettporter ] | |
| Resolution | Duplicate [ 3 ] |
covered the use case of the subject in http://docs.codehaus.org/display/MAVEN/Local+repository+separation, waiting for after 3.0 and further discussion to consider working on it.
That said, I don't think having the same artifact in multiple different repositories is something that we want to encourage and an implementation would probably want a way to check for that.