Return-Path: X-Original-To: apmail-maven-users-archive@www.apache.org Delivered-To: apmail-maven-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 36D3DE4D4 for ; Fri, 18 Jan 2013 13:51:16 +0000 (UTC) Received: (qmail 3857 invoked by uid 500); 18 Jan 2013 13:51:14 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 3658 invoked by uid 500); 18 Jan 2013 13:51:14 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 3644 invoked by uid 99); 18 Jan 2013 13:51:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jan 2013 13:51:13 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [24.37.79.202] (HELO smtp.artifact-software.com) (24.37.79.202) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jan 2013 13:51:08 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.artifact-software.com (Postfix) with ESMTP id 9D1A06A7A70 for ; Fri, 18 Jan 2013 08:50:46 -0500 (EST) X-Virus-Scanned: amavisd-new at artifact-software.com Received: from smtp.artifact-software.com ([127.0.0.1]) by localhost (smtp.artifact-software.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xi6oOSDuEn94 for ; Fri, 18 Jan 2013 08:50:39 -0500 (EST) Received: from [192.168.3.170] (unknown [192.168.3.170]) by smtp.artifact-software.com (Postfix) with ESMTP id 9C88C6A7A6D for ; Fri, 18 Jan 2013 08:50:39 -0500 (EST) Message-ID: <50F9532C.5010302@artifact-software.com> Date: Fri, 18 Jan 2013 08:50:36 -0500 From: Ron Wheeler Reply-To: rwheeler@artifact-software.com Organization: Artifact Software User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: users@maven.apache.org Subject: Re: Maven copy-dependencies and excluding transitively References: <20130118131553.85470@gmx.net> In-Reply-To: <20130118131553.85470@gmx.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org http://blog.artifact-software.com/tech/?p=121 Is that what you are trying to do? Ron On 18/01/2013 8:15 AM, Veit Guna wrote: > Hi. > > I'm using the Maven Dependency Plugin with the goal copy-dependencies. I would like to do the following: > > - Copy all transitive dependencies with the scope "runtime" to the target dir > - exclude specific group ids *including their* transitive dependencies from that list > > I tried: > > > org.apache.maven.plugins > maven-dependency-plugin > 2.6 > > > copy-dependencies > package > > copy-dependencies > > > runtime > A,B > > > > > > But that leaves all transient dependecies of A and B in the target dir. I also tried > > true > > But that excludes *all* transitive deps - not only for A and B. That leaves only "direct" deps in the target dir. > > Is there any way to achieve what I want *without* specifying each transitive dependency (and theirs) manually via ? > > Thanks. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > For additional commands, e-mail: users-help@maven.apache.org > > -- Ron Wheeler President Artifact Software Inc email: rwheeler@artifact-software.com skype: ronaldmwheeler phone: 866-970-2435, ext 102 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org