From issues-return-135741-archive-asf-public=cust-asf.ponee.io@maven.apache.org Mon Jul 30 23:12:05 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 408CF180674 for ; Mon, 30 Jul 2018 23:12:05 +0200 (CEST) Received: (qmail 41906 invoked by uid 500); 30 Jul 2018 21:12:04 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 41895 invoked by uid 99); 30 Jul 2018 21:12:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Jul 2018 21:12:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id BDCCAC1A2F for ; Mon, 30 Jul 2018 21:12:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.001 X-Spam-Level: X-Spam-Status: No, score=-109.001 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, KAM_NUMSUBJECT=0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id kSIqtOFH0gPL for ; Mon, 30 Jul 2018 21:12:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 83A1E5F27B for ; Mon, 30 Jul 2018 21:12:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 944C7E2620 for ; Mon, 30 Jul 2018 21:12:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 197A827756 for ; Mon, 30 Jul 2018 21:12:00 +0000 (UTC) Date: Mon, 30 Jul 2018 21:12:00 +0000 (UTC) From: "Sylwester Lachiewicz (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MASSEMBLY-873) Maven-Assembly-Plugin freezes when building jar-with-dependencies of project depending on org.bouncycastle:bcprov-jdk15on:1.58 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MASSEMBLY-873?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1= 6562510#comment-16562510 ]=20 Sylwester Lachiewicz commented on MASSEMBLY-873: ------------------------------------------------ See my analys and comment=C2=A0[https://github.com/codehaus-plexus/plexus-i= o/issues/12] ??With cache disabled in class sun.net.www.protocol.jar.JarURLConnection.Ja= rURLInputStream with every close() - jar file is closed also. For jars like= Bouncycastle with signatures inside - reading every entry (ie open jar) in= volves signature verification - that is why we see slow performance.?? ??java.util.jar.JarFile#getInputStream?? =C2=A0 > Maven-Assembly-Plugin freezes when building jar-with-dependencies of proj= ect depending on org.bouncycastle:bcprov-jdk15on:1.58 > -------------------------------------------------------------------------= ----------------------------------------------------- > > Key: MASSEMBLY-873 > URL: https://issues.apache.org/jira/browse/MASSEMBLY-873 > Project: Maven Assembly Plugin > Issue Type: Bug > Affects Versions: 3.1.0 > Environment: Maven 3.5.2, Java 8u151 (32-bit) as well as 9.0 (64-= bit), Windows 10 > Reporter: Michael Schierl > Priority: Major > Attachments: pom.xml > > > To reproduce: > 1. Create a new directory > 2. Add attached pom.xml (no other sources required to reproduce; in real = world you would add some source that uses BouncyCastle lib, too). > 3. Run {{mvn package}} > Actual result: > Maven hangs after=20 > {{[INFO] Building jar: C:\Daten\Eigenes\svn\iota\hang\target\bug-1.0-SNAP= SHOT-jar-with-dependencies.jar}} > , consuming one CPU core. > Expected result: > Maven builds a package containing no own source and the dependency (bounc= ycastle) > Workaround: > In maven local repository, edit the .jar file of BouncyCastle and remove = the `META-INF\BC*` files. Then the package can be built again. So it seems = to be caused somehow by verifying signed jar files. -- This message was sent by Atlassian JIRA (v7.6.3#76005)