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 68D45E862 for ; Fri, 4 Jan 2013 20:57:55 +0000 (UTC) Received: (qmail 73486 invoked by uid 500); 4 Jan 2013 20:57:53 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 73412 invoked by uid 500); 4 Jan 2013 20:57:53 -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 73403 invoked by uid 99); 4 Jan 2013 20:57:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Jan 2013 20:57:53 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.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, 04 Jan 2013 20:57:45 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.artifact-software.com (Postfix) with ESMTP id 67D996A7B40 for ; Fri, 4 Jan 2013 15:57:24 -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 SlrD+gc44Co2 for ; Fri, 4 Jan 2013 15:57:13 -0500 (EST) Received: from [192.168.3.170] (unknown [192.168.3.170]) by smtp.artifact-software.com (Postfix) with ESMTP id 0D0E76A7B3D for ; Fri, 4 Jan 2013 15:57:13 -0500 (EST) Message-ID: <50E74226.4040607@artifact-software.com> Date: Fri, 04 Jan 2013 15:57:10 -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/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: users@maven.apache.org Subject: Re: copy selected dependencies transitively References: <30B8EDAE-481D-4587-AB22-FE5BF1DD996D@uni-jena.de> In-Reply-To: <30B8EDAE-481D-4587-AB22-FE5BF1DD996D@uni-jena.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org What are you actually trying to do? Why do you need to do this? What makes your environment different from everyone else's operation? Perhaps there are easier ways to get what you want by reformulating the problem. Ron On 04/01/2013 11:17 AM, Erik F��ler wrote: > Hi all, > > my issue is no new one and I found some related posts - even on this list - already. But none of them has been answered, so I try my luck. > > What I want: > Copy one (or multiple) selected dependency of my project into a directory of its own. That is, unlike the normal "copy-dependencies" execution which just copies all dependencies into a directory, I want to select only some of them. > I tried it with includeArtifactIds like this: > > > maven-dependency-plugin > 2.6 > > > Copy dependencies transitive > package > > copy-dependencies > > > false > lib > myartifact > > > > > > > > But here, the original meaning of "includeArtifactIds" is "copy exactly the artifacts of the given IDs, nothing else", which also means that no transitive dependencies are copied. I stated explicitly "false" but this seems to be ignored. > Question: Is there another way to achieve what I need (copy selected artifacts along with their transitive dependencies into a folder of their own). > Feature Request: I guess it wouldn't be too difficult to take the "false" command into account and just copy the transitive dependencies in this case, would it? If this could be added, it would help me and I guess some other people out there. > > Thanks and best regards, > > Erik > --------------------------------------------------------------------- > 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