Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
-
None
-
Patch
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.