Uploaded image for project: 'Maven Archetype'
  1. Maven Archetype
  2. ARCHETYPE-234

archetype:crawl fails on large repositories (Too many open files)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0-alpha-5
    • Fix Version/s: 2.0-alpha-5
    • Component/s: None
    • Labels:
      None
    • Environment:
      Linux (and probably others)
    • Flags:
      Patch

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jvoegele Jason Voegele
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: