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

ant artifact doesn't read settings.xml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.6
    • 2.0.7
    • None
    • None
    • winxp

    Description

      We are using an ant script to call maven deploy to auto deploy jar, pom and md5's and sh1's for 3rd party libraries to our remote repository. The maven deploy ant task isn't using the settings to find our mirrors or repositories for download. We have a parent pom that it should find, but it's not. The settings.xml is in maven/conf and in HOME/.m2/ and in HOME/.ant/

      The repositories are defined in our pom file, but the login information needs to be in the settings.xml. When we run this, it isn't finding the login information from settings. We also had an issue where the remote repositories where defined in settings and it wasn't working until we moved it to the pom. The underlying problem seems to be that settings isn't taken into account in either case.

      Attachments

        1. MANTTASKS-6.diff
          2 kB
          Herve Boutemy

        Issue Links

          Activity

            People

              Unassigned Unassigned
              brianf Brian E Fox
              Votes:
              6 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: