ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Porter (JIRA)" <j...@apache.org>
Subject [jira] Commented: (IVY-1058) PomModuleDescriptorBuilder does not resolve ejb type dependencies to jar extension.
Date Thu, 23 Apr 2009 22:00:32 GMT

    [ https://issues.apache.org/jira/browse/IVY-1058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12702132#action_12702132
] 

Jason Porter commented on IVY-1058:
-----------------------------------

The problem is when an ejb type is resolved as a transitive dependency when you don't have
control over it unless you explicitly tell it what to do.

> PomModuleDescriptorBuilder does not resolve ejb type dependencies to jar extension.
> -----------------------------------------------------------------------------------
>
>                 Key: IVY-1058
>                 URL: https://issues.apache.org/jira/browse/IVY-1058
>             Project: Ivy
>          Issue Type: Bug
>          Components: Maven Compatibility
>    Affects Versions: 2.0
>            Reporter: Andrey Lomakin
>            Assignee: Maarten Coene
>             Fix For: trunk
>
>         Attachments: IVY-1058_2009_04_07.patch
>
>
> During of parsing POM module dependency with type ejb, method PomModuleDescriptorBuilder#addDependency
should use 
> PomModuleDescriptorBuilder#JAR_PACKAGINGS List as well as PomModuleDescriptorBuilder#addMainArtifact
method.
> For example if I use following code
> {code:xml} 
> <dependency org="org.jboss.seam" name="jboss-seam-ui" rev="2.1.1.GA" conf="compile,production->default"/>

> {code}
> in ivy.xml, dependency 
> org.jboss.seam#jboss-seam;2.1.1.GA!jboss-seam.ejb module will be tried to load instead
of  org.jboss.seam#jboss-seam;2.1.1.GA!jboss-seam.jar module.
> In the pom.xml this dependency is described like:
> {code:xml} 
> <dependency>
>       <groupId>org.jboss.seam</groupId>
>       <artifactId>jboss-seam</artifactId>
>       <type>ejb</type>
> </dependency>
> {code} 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message