Uploaded image for project: 'Maven Ant Tasks (RETIRED)'
  1. Maven Ant Tasks (RETIRED)
  2. MANTTASKS-205

pom task doesn't use auth settings to resolve parent pom

    XMLWordPrintableJSON

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.

      Attachments

        1. patch1.txt
          1 kB
          Miroslaw Michalski

        Activity

          People

            Unassigned Unassigned
            mi0ne Miroslaw Michalski
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: