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 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
    • Number of attachments :
      0

      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

        Paul Gier made changes -
        Field Original Value New Value
        Fix Version/s 2.0.10 [ 14199 ]
        Paul Gier made changes -
        Assignee Paul Gier [ pgier ]
        Hide
        Paul Gier added a comment -

        Fixed in r772405

        Show
        Paul Gier added a comment - Fixed in r772405
        Paul Gier made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: