Stefan Bodewig created IVY-1642: ----------------------------------- Summary: PomModuleDescriptorBuilder may lose depndencies in translation Key: IVY-1642 URL: https://issues.apache.org/jira/browse/IVY-1642 Project: Ivy Issue Type: Bug Affects Versions: 2.5.0 Reporter: Stefan Bodewig Assignee: Stefan Bodewig
https://github.com/Fernal73/CheckStyleSample/ shows an example where I fails to resolve one of the dependencies of Saxon-H2. Saxon-H2's POM says {code} <dependency> <groupId>org.xmlresolver</groupId> <artifactId>xmlresolver</artifactId> <version>5.1.1</version> </dependency> <dependency> <groupId>org.xmlresolver</groupId> <artifactId>xmlresolver</artifactId> <version>5.1.1</version> <classifier>data</classifier> </dependency> {code} but when translated to an ivy.xml file we only have {code} <dependency org="org.xmlresolver" name="xmlresolver" rev="5.1.1" force="true" conf="compile->compile(*),\ master(*);runtime->runtime(*)"> <artifact name="xmlresolver" type="jar" ext="jar" conf="compile" m:classifier="data"/> </dependency> {code} It looks as if {{PomModuleDescriptorBuilder}} was merging the two dependencies into one rather than creating two artifacts. -- This message was sent by Atlassian Jira (v8.20.10#820010)