When reading the archetype-metadata.xml file, would be helpful to know if the XML was badly formed --------------------------------------------------------------------------------------------------
Key: ARCHETYPE-282 URL: http://jira.codehaus.org/browse/ARCHETYPE-282 Project: Maven Archetype Issue Type: Improvement Components: Archetypes Affects Versions: 2.0-alpha-4 Environment: Windows, but affects all envs Reporter: Chris Melikian Priority: Minor Attachments: DefaultArchetypeArtifactManager.java.patch If archetype-metadata.xml is malformed, say with a module element which is unclosed (missing slash), there is no error message displayed in the log output, even with the debug(-X) parameter set. The DefaultArchetypeArtifactManager class contains methods which catch exceptions but do not log the problem. The problem is just silently ignored. I've created a patch file to log the problem at WARN level so that anyone who has a problem can see why it occured. -- 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