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


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