Uploaded image for project: 'Maven JAR Plugin'
  1. Maven JAR Plugin
  2. MJAR-188

maven-jar-plugin is very slow on machines with slow Unix group lookups

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.6
    • None
    • None
    • Ubuntu Trusty, OpenJDK 7 (modified)

    Description

      While building a Maven project, it appeared to hang while packaging a large jar. Running jstack showed that it was getting stuck in the Java 7 implementation of getgrgid. It looks like it's doing this for every file and there are lots of files. This is already fixed in plexus-io-2.0.5 [1] but Maven needs to upgrade to the new version.

      A workaround is to patch it in the the pom, such as [2]. However, this needs to be done in each project.

      This isn't easy to reproduce; I've seen it on some machines but not others.

      [1] http://jira.codehaus.org/browse/PLXCOMP-203
      [2] https://gwt-review.googlesource.com/#/c/10050/1/pom.xml

      Attachments

        Activity

          People

            krosenvold Kristian Rosenvold
            skybrian Brian Slesinsky
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: