Maven Archetype
  1. Maven Archetype
  2. ARCHETYPE-234

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

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Critical 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)
    • Patch Submitted:
      Yes
    • Number of attachments :
      1

      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.

        Activity

        Hide
        Raphaël Piéroni added a comment -

        Fixed since revision 757977 Thanks for the patch given by Jason Voegele

        Show
        Raphaël Piéroni added a comment - Fixed since revision 757977 Thanks for the patch given by Jason Voegele

          People

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

            Dates

            • Created:
              Updated:
              Resolved: