You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Miroslaw Michalski (JIRA)" <ji...@codehaus.org> on 2010/11/19 16:10:03 UTC
[jira] Commented: (MANTTASKS-205) pom task doesn't use auth
settings to resolve parent pom
[ http://jira.codehaus.org/browse/MANTTASKS-205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=243764#action_243764 ]
Miroslaw Michalski commented on MANTTASKS-205:
----------------------------------------------
Problem exists in version 2.1.1 and previous
> pom task doesn't use auth settings to resolve parent pom
> --------------------------------------------------------
>
> Key: MANTTASKS-205
> URL: http://jira.codehaus.org/browse/MANTTASKS-205
> Project: Maven 2.x 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 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