archetype:crawl fails on large repositories (Too many open files) -----------------------------------------------------------------
Key: ARCHETYPE-234 URL: http://jira.codehaus.org/browse/ARCHETYPE-234 Project: Maven Archetype Issue Type: Bug Affects Versions: 2.0-alpha-5 Environment: Linux (and probably others) Reporter: Jason Voegele Priority: Critical Attachments: archetype-crawl.patch When using archetype:crawl to generate the archetype-catalog.xml for a largish repository, the operation fails due to "Too many open files". This is due to many ZipFile objects (and at least one FileWriter object) not being close()'d. I've attached a patch against maven-archetype that resolves this issue. -- 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