[
https://issues.apache.org/jira/browse/IVY-1229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maarten Coene resolved IVY-1229.
--------------------------------
Resolution: Fixed
Fix Version/s: trunk
Assignee: Maarten Coene
I've applied your in SVN trunk.
Thank you for the contribution!
> 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
> Assignee: Maarten Coene
> Fix For: trunk
>
> Attachments: 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