Return-Path: X-Original-To: apmail-maven-issues-archive@minotaur.apache.org Delivered-To: apmail-maven-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E12FB184AE for ; Sun, 2 Aug 2015 10:49:04 +0000 (UTC) Received: (qmail 84886 invoked by uid 500); 2 Aug 2015 10:49:04 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 84832 invoked by uid 500); 2 Aug 2015 10:49: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 84818 invoked by uid 99); 2 Aug 2015 10:49:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Aug 2015 10:49:04 +0000 Date: Sun, 2 Aug 2015 10:49:04 +0000 (UTC) From: "Andrey Stepaonv (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (MSHADE-202) When promoteTransitiveDependencies=true, some are stripped from the 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-202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrey Stepaonv updated MSHADE-202: ----------------------------------- Description: I have 2 modules. First module uses this dependencies: ch.imvs sdes4j 1.1.3 commons-codec commons-codec commons-codec commons-codec 1.10 and second module uses first module and maven-shade plugin with execution: shade-for-obfuscate package shade ${project.groupId}:firstModule true ${basedir}/target/dependency-reduced-pom.xml As a result i have reduced pom with dependencies: ch.imvs sdes4j 1.1.3 compile commons-codec commons-codec 1.10 compile But i had to get dependency with was: I have 2 modules. First module use this dependencies: ch.imvs sdes4j 1.1.3 commons-codec commons-codec commons-codec commons-codec 1.10 ans second module use first module and maven-shade plugin with execution: shade-for-obfuscate package shade ${project.groupId}:firstModule true ${basedir}/target/dependency-reduced-pom.xml As a result i have reduced pom with dependencies: ch.imvs sdes4j 1.1.3 compile commons-codec commons-codec 1.10 compile But i had to get dependency with > When promoteTransitiveDependencies=true, some are stripped from the dependency-reduced-pom > ------------------------------------------------------------------------------------------------------- > > Key: MSHADE-202 > URL: https://issues.apache.org/jira/browse/MSHADE-202 > Project: Maven Shade Plugin > Issue Type: Bug > Affects Versions: 2.4.1 > Environment: Windows 7 > java 1.8 > Reporter: Andrey Stepaonv > > I have 2 modules. First module uses this dependencies: > > ch.imvs > sdes4j > 1.1.3 > > > commons-codec > commons-codec > > > > > commons-codec > commons-codec > 1.10 > > and second module uses first module and maven-shade plugin with execution: > > shade-for-obfuscate > package > > shade > > > > > ${project.groupId}:firstModule > > > true > ${basedir}/target/dependency-reduced-pom.xml > > > As a result i have reduced pom with dependencies: > > ch.imvs > sdes4j > 1.1.3 > compile > > > commons-codec > commons-codec > 1.10 > compile > > But i had to get dependency with -- This message was sent by Atlassian JIRA (v6.3.4#6332)