Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 38473 invoked from network); 10 May 2010 17:48:33 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 10 May 2010 17:48:33 -0000 Received: (qmail 90814 invoked by uid 500); 10 May 2010 17:48:33 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 90786 invoked by uid 500); 10 May 2010 17:48:33 -0000 Mailing-List: contact ivy-user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ivy-user@ant.apache.org Delivered-To: mailing list ivy-user@ant.apache.org Received: (qmail 90778 invoked by uid 99); 10 May 2010 17:48:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 May 2010 17:48:33 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [67.132.104.135] (HELO edge.apptechsys.com) (67.132.104.135) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 May 2010 17:48:27 +0000 Received: from diamondhead.apptechsys.com (192.168.245.1) by mx.atsid.com (192.168.245.50) with Microsoft SMTP Server (TLS) id 8.1.436.0; Mon, 10 May 2010 10:48:07 -0700 Received: from diamondhead.apptechsys.com ([192.168.240.10]) by diamondhead.apptechsys.com ([192.168.240.10]) with mapi; Mon, 10 May 2010 10:48:05 -0700 From: James Davis To: "ivy-user@ant.apache.org" Date: Mon, 10 May 2010 10:47:25 -0700 Subject: RE: resolving multiple maven artifact dependencies of same type Thread-Topic: resolving multiple maven artifact dependencies of same type Thread-Index: AcrwaErOUecsWyFiTq254jawj9sF5AAAI7Ae Message-ID: <7E9646C605F85F45B9FEA87EF1F29C123A2E23D3A2@diamondhead.apptechsys.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 If I understand correctly, this can be specified in the resolver by specify= ing the artifact pattern. See the documentation here: http://ant.apache.org/ivy/history/latest-milest= one/settings.html James Davis =95 QA Engineer II/Software Engineer Applied Technical Systems, Inc. =95 Systems Division web: www.atsid.com =95 e-mail: james.davis@atsid.com (p) 360.698.7100 x241 =95 (f) 360.698.7200 ________________________________________ From: Nick Bonatsakis [nbonatsakis@gmail.com] Sent: Monday, May 10, 2010 10:42 AM To: ivy-user@ant.apache.org Subject: resolving multiple maven artifact dependencies of same type Hello All, I have a maven pom that builds a project and publishes 3 properties files alongside the project jar file using pom code like: attach-artifacts package attach-artifact src/war/WEB-INF/foo.properties properties foo src/war/WEB-INF/bar.properties properties bar When I look in the m2 local repo, I see the jar file and these two files with the project name and version prepended. I now want to be able to pull these files into a different project using ivy. It seems that if I use the classifier attribute of , I can only resolve one file of a given type. My ivy snippet: This fails because when it runs, it wants to name both files "myproj.properties" so when it gets to the second, it fails, because the first is already there. Is there any way I can dictate how the resolved files are named? Or some other sollution to this problem? Thank you all. -- Nicholas Bonatsakis Software Engineer