You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Herve Boutemy (JIRA)" <ji...@codehaus.org> on 2007/07/12 23:23:13 UTC

[jira] Updated: (MANTTASKS-78) unable to download a dependency when it is a SNAPSHOT and multiple remoteRepositories are used

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

Herve Boutemy updated MANTTASKS-78:
-----------------------------------

    Description: 
the conditions for this problem are very precise:
{code:xml}
<artifact:pom file="${user.dir}/src/test/pom-with-parent-SNAPSHOT.xml" id="my.maven.project.SNAPSHOT">
  <localRepository path="target/tmp"/>
  <remoteRepository url="file://${user.dir}/src/test/repo"/>
  <remoteRepository url="file://${user.dir}/target/tmp/fake"/>
</artifact:pom>
{code}

but if the second remoteRepository is removed, or even the 2 repositories switched, there is no problem...

  was:
the conditions for this problem are very precise:
    <artifact:pom file="${user.dir}/src/test/pom-with-parent-SNAPSHOT.xml" id="my.maven.project.SNAPSHOT">
      <localRepository path="target/tmp"/>
      <remoteRepository url="file://${user.dir}/src/test/repo"/>
      <remoteRepository url="file://${user.dir}/target/tmp/fake"/>
    </artifact:pom>

but if the second remoteRepository is removed, or even the 2 repositories switched, there is no problem...

    Component/s: dependencies task
        Summary: unable to download a dependency when it is a SNAPSHOT and multiple remoteRepositories are used  (was: unable to download parent pom when it is a SNAPSHOT and multiple remoteRepositories are used)

> unable to download a dependency when it is a SNAPSHOT and multiple remoteRepositories are used
> ----------------------------------------------------------------------------------------------
>
>                 Key: MANTTASKS-78
>                 URL: http://jira.codehaus.org/browse/MANTTASKS-78
>             Project: Maven 2.x Ant Tasks
>          Issue Type: Bug
>          Components: dependencies task, POM Integration
>    Affects Versions: 2.0.7
>            Reporter: Herve Boutemy
>         Attachments: MANTTASKS-78.diff
>
>
> the conditions for this problem are very precise:
> {code:xml}
> <artifact:pom file="${user.dir}/src/test/pom-with-parent-SNAPSHOT.xml" id="my.maven.project.SNAPSHOT">
>   <localRepository path="target/tmp"/>
>   <remoteRepository url="file://${user.dir}/src/test/repo"/>
>   <remoteRepository url="file://${user.dir}/target/tmp/fake"/>
> </artifact:pom>
> {code}
> but if the second remoteRepository is removed, or even the 2 repositories switched, there is no problem...

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