"Error reading settings file" error is reported when settings.xml is deleted
from maven/conf folder.
----------------------------------------------------------------------------------------------------
Key: MANTTASKS-144
URL: http://jira.codehaus.org/browse/MANTTASKS-144
Project: Maven 2.x Ant Tasks
Issue Type: Bug
Affects Versions: 2.0.9
Environment: Win Vista, Java 1.6.11
Reporter: Yury Kudryashov
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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira