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 15:59:03 UTC
[jira] Created: (MANTTASKS-205) pom task doesn't use auth settings
to resolve parent pom
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
[jira] Commented: (MANTTASKS-205) pom task doesn't use auth
settings to resolve parent pom
Posted by "Miroslaw Michalski (JIRA)" <ji...@codehaus.org>.
[ 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