Issue Details (XML | Word | Printable)

Key: MAVEN-1694
Type: Improvement Improvement
Status: Open Open
Priority: Minor Minor
Assignee: Unassigned
Reporter: Davy Toch
Votes: 1
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Maven 1

Maven 1 should be able to retrieve dependencies from M2 repository.

Created: 15/Sep/05 05:57 AM   Updated: 11/May/07 08:55 AM
Return to search
Component/s: None
Affects Version/s: 1.1-beta-2
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments: 1. Text File MAVEN-1694.patch (2 kB)

Environment: Not of importance.


 Description  « Hide

As M2 is becoming better every day, I suppose more projects will start using M2 instead of M1. So the artifacts generated by these projects will be stored in an M2-style repository.

However, there will also be projects that want to continue using M1 for a while, but that have dependencies to artifacts created by M2 projects. So M1 should be able to retrieve artifacts from an M2 repository.

Remark that I do not want M1 to have all the functionalities of the M2 dependency management (transitive dependencies, POM retrieval, ...). I just want to retrieve the artifact from the M2 repository.



Brett Porter made changes - 08/Mar/06 10:47 PM
Field Original Value New Value
Workflow Maven [ 39513 ] Maven New [ 51795 ]
Arnaud Heritier made changes - 11/Apr/06 05:24 PM
Fix Version/s  1.1-beta-4 [ 12553 ]
Lukas Theussl added a comment - 11/May/07 08:55 AM

Qick and dirty hack to make DependencyVerifier download artifacts from an m2 repo. Since there is no way to tell the type of a repo, I'm looping over both possibilities. Maven 2 has the <layout> pom setting for that, so maybe we could add a property? However, you couldn't mix m1 and m2 type repos in maven.repo.remote then, which is possible now.

Note that plugin:download is done in the plugin plugin and artifact uploading in the artifact plugin, so that would have to be done separately.


Lukas Theussl made changes - 11/May/07 08:55 AM
Attachment MAVEN-1694.patch [ 27270 ]