From issues-return-135503-archive-asf-public=cust-asf.ponee.io@maven.apache.org Fri Jul 27 17:13:04 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 0A3F0180657 for ; Fri, 27 Jul 2018 17:13:03 +0200 (CEST) Received: (qmail 12793 invoked by uid 500); 27 Jul 2018 15:13:03 -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 12782 invoked by uid 99); 27 Jul 2018 15:13:02 -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; Fri, 27 Jul 2018 15:13:02 +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 7F75BC1B0E for ; Fri, 27 Jul 2018 15:13:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.501 X-Spam-Level: X-Spam-Status: No, score=-109.501 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, 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 ZLkczLSh7MXy for ; Fri, 27 Jul 2018 15:13: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 1F1FE5F180 for ; Fri, 27 Jul 2018 15:13: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 74632E25CB for ; Fri, 27 Jul 2018 15:13: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 3B92727756 for ; Fri, 27 Jul 2018 15:13:00 +0000 (UTC) Date: Fri, 27 Jul 2018 15:13:00 +0000 (UTC) From: "Andrew Bayer (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (MSHADE-148) Shade Plugin gets stuck in infinite loop building dependency reduced POM MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MSHADE-148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Bayer updated MSHADE-148: -------------------------------- Attachment: mshade-148-reproduction-pom.xml > Shade Plugin gets stuck in infinite loop building dependency reduced POM > ------------------------------------------------------------------------ > > Key: MSHADE-148 > URL: https://issues.apache.org/jira/browse/MSHADE-148 > Project: Maven Shade Plugin > Issue Type: Bug > Affects Versions: 2.1 > Environment: OS X 10.7.5 > Reporter: Rob Vesse > Assignee: Karl Heinz Marbaise > Priority: Major > Fix For: 2.4.1 > > Attachments: MSHADE-148.patch, dependency-reduced-pom.xml, mshade-148-reproduction-pom.xml, pom.xml, shade-bug.txt > > > I have encountered a bug whereby the shade plugin gets stuck in an infinite loop in the step of creating a dependency reduced POM. > I have attached a minimal POM that reproduces the issue and done some debugging on this. The problem seems to be caused by using both the jar and test-jar version of a dependency (jena-fuseki in my example) while also including a jar dependency that is a transitive dependency of the other dependencies (jena-arq in my example). Removing either the jar/test-jar resolves the problem and so does removing the other jar dependency. > The problem appears to be that the plugin is getting stuck endlessly trying to produce the dependency-reduced-pom.xml > If I watch the file over time it is repeatedly deleted and rewritten, each time it is written it gets larger. When I manage to kill the process at a point where the file is non-empty I can see that the plugin is endlessly adding the same set of to one of the jena-fuseki dependencies. -- This message was sent by Atlassian JIRA (v7.6.3#76005)