You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Lukas Theussl (JIRA)" <ji...@codehaus.org> on 2007/05/11 15:56:12 UTC

[jira] Updated: (MAVEN-1694) Maven 1 should be able to retrieve dependencies from M2 repository.

     [ http://jira.codehaus.org/browse/MAVEN-1694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukas Theussl updated MAVEN-1694:
---------------------------------

    Attachment: MAVEN-1694.patch

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.

> Maven 1 should be able to retrieve dependencies from M2 repository.
> -------------------------------------------------------------------
>
>                 Key: MAVEN-1694
>                 URL: http://jira.codehaus.org/browse/MAVEN-1694
>             Project: Maven 1
>          Issue Type: Improvement
>    Affects Versions: 1.1-beta-2
>         Environment: Not of importance.
>            Reporter: Davy Toch
>            Priority: Minor
>         Attachments: MAVEN-1694.patch
>
>
> 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.

-- 
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