[ 
https://issues.apache.org/jira/browse/IVY-1058?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Maarten Coene resolved IVY-1058.
--------------------------------

       Resolution: Fixed
    Fix Version/s: trunk

Thanks for the contribution Andrey! I've applied your patch into SVN trunk + 
added a junit test. Could you give it a try?

> 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.

Reply via email to