ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Douglas Palmer (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IVY-1229) makepom ignores the artifact type in generated dependencies
Date Sun, 24 Jul 2011 09:49:09 GMT

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

Douglas Palmer updated IVY-1229:
--------------------------------

    Attachment: ivy-1229.patch

Sorry, my previous patch was a little naive, this patch will handle multiple artefact elements.
It also outputs classifiers where appropriate. Finally it adds a test for both type and classifier.

> 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.0, 2.2.0-RC1
>            Reporter: Andreas Mandel
>         Attachments: ivy-1229.patch, ivy-1229.patch
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message