[
https://issues.apache.org/jira/browse/MJAR-188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17957259#comment-17957259
]
Matthias Bünger commented on MJAR-188:
--------------------------------------
This project has moved from Jira to GitHub Issues. This issue was migrated to
[apache/maven-jar-plugin#343|https://github.com/apache/maven-jar-plugin/issues/343].
> maven-jar-plugin is very slow on machines with slow Unix group lookups
> ----------------------------------------------------------------------
>
> Key: MJAR-188
> URL: https://issues.apache.org/jira/browse/MJAR-188
> Project: Maven JAR Plugin (Moved to GitHub Issues)
> Issue Type: Bug
> Environment: Ubuntu Trusty, OpenJDK 7 (modified)
> Reporter: Brian Slesinsky
> Assignee: Kristian Rosenvold
> Priority: Major
> Fix For: 2.6
>
>
> 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
--
This message was sent by Atlassian Jira
(v8.20.10#820010)