[ https://issues.apache.org/jira/browse/IVY-1229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Douglas Palmer updated IVY-1229: -------------------------------- Attachment: (was: ivy-1229.patch) > 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 > > > 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