You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2016/05/18 21:27:13 UTC

[jira] [Closed] (MANTTASKS-205) pom task doesn't use auth settings to resolve parent pom

     [ https://issues.apache.org/jira/browse/MANTTASKS-205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov closed MANTTASKS-205.
------------------------------------
    Resolution: Won't Fix

This component has been retired.

> pom task doesn't use auth settings to resolve parent pom
> --------------------------------------------------------
>
>                 Key: MANTTASKS-205
>                 URL: https://issues.apache.org/jira/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.3.4#6332)