Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Patch Submitted:Yes
-
Number of attachments :
Description
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.
Problem exists in version 2.1.1 and previous