You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Han Baas (JIRA)" <ji...@apache.org> on 2008/05/26 15:11:58 UTC
[jira] Created: (IVY-821) An empty exclusion tag results in an
IllegalArgumentException ...
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
Affects Versions: 2.0.0-beta-2
Reporter: Han Baas
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).
<dependency>
<groupId>org.jboss.embedded</groupId>
<artifactId>jboss-embedded</artifactId>
<version>beta3</version>
<exclusions>
<exclusion />
</exclusions>
</dependency>
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.
[jira] Assigned: (IVY-821) An empty exclusion tag results in an
IllegalArgumentException ...
Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVY-821?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maarten Coene reassigned IVY-821:
---------------------------------
Assignee: Maarten Coene
> 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).
>
> <dependency>
> <groupId>org.jboss.embedded</groupId>
> <artifactId>jboss-embedded</artifactId>
> <version>beta3</version>
> <exclusions>
> <exclusion />
> </exclusions>
> </dependency>
> 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.
[jira] Resolved: (IVY-821) An empty exclusion tag results in an
IllegalArgumentException ...
Posted by "Maarten Coene (JIRA)" <ji...@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).
>
> <dependency>
> <groupId>org.jboss.embedded</groupId>
> <artifactId>jboss-embedded</artifactId>
> <version>beta3</version>
> <exclusions>
> <exclusion />
> </exclusions>
> </dependency>
> 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.
[jira] Updated: (IVY-821) An empty exclusion tag results in an
IllegalArgumentException ...
Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVY-821?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maarten Coene updated IVY-821:
------------------------------
Component/s: Maven Compatibility
Fix Version/s: 2.0-RC1
> 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).
>
> <dependency>
> <groupId>org.jboss.embedded</groupId>
> <artifactId>jboss-embedded</artifactId>
> <version>beta3</version>
> <exclusions>
> <exclusion />
> </exclusions>
> </dependency>
> 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.