Return-Path: Delivered-To: apmail-ant-notifications-archive@locus.apache.org Received: (qmail 2783 invoked from network); 26 May 2008 20:04:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 May 2008 20:04:17 -0000 Received: (qmail 46018 invoked by uid 500); 26 May 2008 20:04:19 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 45971 invoked by uid 500); 26 May 2008 20:04:19 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 45954 invoked by uid 99); 26 May 2008 20:04:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 May 2008 13:04:19 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 May 2008 20:03:40 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B38C2234C122 for ; Mon, 26 May 2008 13:03:56 -0700 (PDT) Message-ID: <1876111070.1211832236720.JavaMail.jira@brutus> Date: Mon, 26 May 2008 13:03:56 -0700 (PDT) From: "Maarten Coene (JIRA)" To: notifications@ant.apache.org Subject: [jira] Resolved: (IVY-821) An empty exclusion tag results in an IllegalArgumentException ... In-Reply-To: <835891274.1211807518240.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/IVY-821?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Maarten Coene resolved IVY-821. ------------------------------- Resolution: Fixed Fixed in SVN trunk. Thanks for reporting! > An empty exclusion tag results in an IllegalArgumentException ... > ------------------------------------------------------------------ > > Key: IVY-821 > URL: https://issues.apache.org/jira/browse/IVY-821 > Project: Ivy > Issue Type: Bug > Components: Maven Compatibility > Affects Versions: 2.0.0-beta-2 > Reporter: Han Baas > Assignee: Maarten Coene > Fix For: 2.0-RC1 > > > At this moment i am working on a JBoss Seam project which i want to build with ant and ivy. Ivy works fine but there is one small problem i encountered. I have a jboss-embedded-all.pom which has an empty exclusion tag (see below). > > > org.jboss.embedded > jboss-embedded > beta3 > > > > > When i try to resolve this dependency i get an IllegalArgumentException (name is null). One could argument if an empty exclusion tag should be valid but that's a different discussion ... For the moment i have solved this problem by changing the code slightly and rebuild the ivy project. The code i have changed can be found in the inner class PomDependencyData (of org.apache.ivy.plugins.parser.m2.PomReader) and is as follows (i only added the if statement). For me this works fine ... > if (groupId != null && arteficatId != null) { > exclusions.add(ModuleId.newInstance(groupId, arteficatId)); > } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.