Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 91929 invoked from network); 8 Jan 2010 15:20:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Jan 2010 15:20:59 -0000 Received: (qmail 56101 invoked by uid 500); 8 Jan 2010 15:20:57 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 56002 invoked by uid 500); 8 Jan 2010 15:20:56 -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 55992 invoked by uid 99); 8 Jan 2010 15:20:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jan 2010 15:20:56 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [194.116.198.143] (HELO gse-mta-05.emailfiltering.com) (194.116.198.143) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jan 2010 15:20:48 +0000 Received: from gateway.caplin.com ([195.110.77.253]) by gse-mta-05.emailfiltering.com with emfmta (version 4.1.0.193.1.rd-3.2.3-libc2.3.2) vanilla id 2909351386 for users@maven.apache.org; Fri, 08 Jan 2010 15:20:26 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CA9076.1A7C4E4B" Subject: Maven ant tasks: Getting artefacts based on type Date: Fri, 8 Jan 2010 15:20:25 -0000 Message-ID: <9AEC5F50BD7E0F48891AE45ADC561184044EAC63@ldnukms2.caplin.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Maven ant tasks: Getting artefacts based on type thread-index: AcqQdhqkIrQmDaUWRpKhiSiQyYMLHg== From: "Richard Chamberlain" To: "Maven Users List" X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01CA9076.1A7C4E4B Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, =20 I'm using maven ant tasks as i'm doing a non-java build, but want to use the power of dependencies. =20 I'm trying to get all the dependencies of type "zip" into a fileset. =20 Here is the POM: =20 4.0.0 xxxx xxxxxxxx 1.0-SNAPSHOT zip =20 group jarartefact 1.0-SNAPSHOT jar =20 group zipartefact 1.0-SNAPSHOT zip =20 The ant task is: =20 =20 I would expect both that jar and zip dependency to be printed out. However it prints out nothing for the jar, but prints out the zip. If I change the project packaging to jar, it prints out the jar, but not the zip. It seems as though the dependency mechanism takes into account the packaging of the project before looking into dependencies.=20 =20 Is this the way it is supposed to work? Or am I using it wrong? How do I get a filtered list of dependencies using ant tasks? =20 Thanks for your help, =20 Richard =20 =20 ------_=_NextPart_001_01CA9076.1A7C4E4B--