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

Herve Boutemy commented on MANTTASKS-78:
----------------------------------------

I made more tests: the problem is not related to the fact that it is a pom.
I have the exact same issue with dependencies task:
{code:xml} 
<artifact:dependencies>
  <dependency groupId="it.ant-tasks" artifactId="snapshotUniqueFalse" 
version="2.0.7-SNAPSHOT"/>
  <localRepository path="target/tmp"/>
  <remoteRepository url="file://${user.dir}/src/test/repo"/>
  <remoteRepository url="file://${user.dir}/target/tmp/fake"/>
</artifact:dependencies>
{code} 

> unable to download parent pom 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: POM Integration
>    Affects Versions: 2.0.7
>            Reporter: Herve Boutemy
>         Attachments: MANTTASKS-78.diff
>
>
> 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...

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