Maven 2.x Ant Tasks

"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

Hide
Paul Gier added a comment -

Fixed in r772405

Show
Paul Gier added a comment - Fixed in r772405

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: