[
https://issues.apache.org/jira/browse/IVY-1642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stefan Bodewig resolved IVY-1642.
---------------------------------
Fix Version/s: 2.5.2
Resolution: Fixed
fixed with
https://github.com/apache/ant-ivy/commit/5f11f05fe38b2fc3779d5bec6287505798bc701c
> PomModuleDescriptorBuilder may lose dependencies in translation
> ---------------------------------------------------------------
>
> Key: IVY-1642
> URL: https://issues.apache.org/jira/browse/IVY-1642
> Project: Ivy
> Issue Type: Bug
> Affects Versions: 2.5.0, 2.5.1
> Reporter: Stefan Bodewig
> Assignee: Stefan Bodewig
> Priority: Major
> Fix For: 2.5.2
>
>
> 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)