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

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        12d 8h 36m 1 Paul Gier 06/May/09 14:10
        Mark Thomas made changes -
        Workflow jira [ 12953580 ] Default workflow, editable Closed status [ 12990699 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 22:08:22 UTC 2015 [ 1428271702400 ]
        Mark Thomas made changes -
        Workflow jira [ 12716219 ] Default workflow, editable Closed status [ 12760007 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 09:00:58 UTC 2015 [ 1428224458201 ]
        Paul Gier made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Hide
        Paul Gier added a comment -

        Fixed in r772405

        Show
        Paul Gier added a comment - Fixed in r772405
        Paul Gier made changes -
        Assignee Paul Gier [ pgier ]
        Paul Gier made changes -
        Field Original Value New Value
        Fix Version/s 2.0.10 [ 14199 ]
        Yury Kudryashov created 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