[ 
https://issues.apache.org/jira/browse/IVY-1642?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17712051#comment-17712051
 ] 

Stefan Bodewig commented on IVY-1642:
-------------------------------------

on first glance this is a duplicate of IVY-1580 but it seems the fix back then 
has been incomplete.

> 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
>
> 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)

Reply via email to