[ https://jira.codehaus.org/browse/MANTTASKS-205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=343045#comment-343045 ]
Ronald Jenkins Jr commented on MANTTASKS-205: --------------------------------------------- Ran into this exact same issue with version 2.1.3, while running on Ant 1.8.4 and Ant 1.9.2. Miroslaw's patch also worked for me. > pom task doesn't use auth settings to resolve parent pom > -------------------------------------------------------- > > Key: MANTTASKS-205 > URL: https://jira.codehaus.org/browse/MANTTASKS-205 > Project: Maven Ant Tasks > Issue Type: Bug > Reporter: Miroslaw Michalski > Attachments: patch1.txt > > > In settings.xml I have defined <server>; in pom there is a <parent> pom > defined and also a custom <repository>. > when trying to build this project using ant using > <artifact:dependencies > cacheDependencyRefs="false" > pathId="maven.dependency.classpath" > useScope="test"> > <pom file="pom.xml"/> > </artifact:dependencies> > to resolve artifacts I get ERROR massage that the parent pom artifact could > not be downloaded from my custom repository due to authentication error. > I'm attaching a patch that resolved this problem for me. -- This message was sent by Atlassian JIRA (v6.1.6#6162)