Uploaded image for project: 'Ivy'
  1. Ivy
  2. IVY-1058

PomModuleDescriptorBuilder does not resolve ejb type dependencies to jar extension.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.1.0-RC2
    • Component/s: Maven Compatibility
    • Labels:
      None

      Description

      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

       
      <dependency org="org.jboss.seam" name="jboss-seam-ui" rev="2.1.1.GA" conf="compile,production->default"/> 
      

      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:

       
      <dependency>
            <groupId>org.jboss.seam</groupId>
            <artifactId>jboss-seam</artifactId>
            <type>ejb</type>
      </dependency>
      

        Attachments

          Activity

            People

            • Assignee:
              maartenc Maarten Coene
              Reporter:
              andrey.lomakin Andrey Lomakin
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: