ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Mandel (JIRA)" <j...@apache.org>
Subject [jira] Created: (IVY-1229) makepom ignores the artifact type in generated dependencies
Date Wed, 22 Sep 2010 08:47:32 GMT
makepom ignores the artifact type in generated dependencies
-----------------------------------------------------------

                 Key: IVY-1229
                 URL: https://issues.apache.org/jira/browse/IVY-1229
             Project: Ivy
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.2.0-RC1, 2.0
            Reporter: Andreas Mandel


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

{code:xml|title=ivy.xml}
   ...
    <dependency org="docbook" name="docbook-xsl" rev="1.73.2">
      <artifact name="docbook-xsl" type="zip" />
    </dependency>
   ...
{code}
gets
{code:xml|title=pom.xml}
   ...
    <dependency>
      <groupId>docbook</groupId>
      <artifactId>docbook-xsl</artifactId>
      <version>1.73.2</version>
      <optional>true</optional>
    </dependency>
   ...
{code}

I would expect:
{code:xml|title=pom.xml}
   ...
    <dependency>
      <groupId>docbook</groupId>
      <artifactId>docbook-xsl</artifactId>
      <version>1.73.2</version>
      <type>zip</type>
      <optional>true</optional>
    </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