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

makepom ignores the artifact type in generated dependencies

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0, 2.2.0-RC1
    • 2.3.0-RC1
    • Core
    • None

    Description

      The ant task makepom greates a pom.xml that does not hold the information given with the type attribute in the ivy.xml.

      ivy.xml
         ...
          <dependency org="docbook" name="docbook-xsl" rev="1.73.2">
            <artifact name="docbook-xsl" type="zip" />
          </dependency>
         ...
      

      gets

      pom.xml
         ...
          <dependency>
            <groupId>docbook</groupId>
            <artifactId>docbook-xsl</artifactId>
            <version>1.73.2</version>
            <optional>true</optional>
          </dependency>
         ...
      

      I would expect:

      pom.xml
         ...
          <dependency>
            <groupId>docbook</groupId>
            <artifactId>docbook-xsl</artifactId>
            <version>1.73.2</version>
            <type>zip</type>
            <optional>true</optional>
          </dependency>
         ...
      

      Attachments

        1. ivy-1229.patch
          14 kB
          Douglas Palmer

        Activity

          People

            maartenc Maarten Coene
            amandel Andreas Mandel
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: