Maven Ant Tasks
  1. Maven Ant Tasks
  2. MANTTASKS-144

"Error reading settings file" error is reported when settings.xml is deleted from maven/conf folder.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.9
    • Fix Version/s: 2.0.10
    • Component/s: None
    • Labels:
      None
    • Environment:
      Win Vista, Java 1.6.11

      Description

      I have deleted the settings.xml file in the maven/conf folder. This should be perfectly legal as Maven runs ok without this file. But an attempt to use any maven-ant-task results in the following (or similar) error message:

      [artifact:pom] Error reading settings file 'c:\apache-maven-2.1.0\conf\settings.xml' - ignoring20:46
      or was: c:\apache-maven-2.1.0\conf\settings.xml (The system cannot find the file specified)

      Everything works ok, but this error message is confusing.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Paul Gier
            Reporter:
            Yury Kudryashov
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development