You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicemix.apache.org by "Krystian Brazulewicz (JIRA)" <ji...@apache.org> on 2016/11/04 20:08:58 UTC

[jira] [Updated] (SMX4-1991) JUnit 4.12 bundle exports wrong version of org.hamcrest

     [ https://issues.apache.org/jira/browse/SMX4-1991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Krystian Brazulewicz updated SMX4-1991:
---------------------------------------
    Attachment: SMX4-1991.diff

Fix for the issue

> JUnit 4.12 bundle exports wrong version of org.hamcrest
> -------------------------------------------------------
>
>                 Key: SMX4-1991
>                 URL: https://issues.apache.org/jira/browse/SMX4-1991
>             Project: ServiceMix 4
>          Issue Type: Bug
>          Components: Bundles
>    Affects Versions: bundles-2015.01
>            Reporter: Krystian Brazulewicz
>         Attachments: SMX4-1991.diff
>
>
> {{servicemix.osgi.export}} defines {{org.hamcrest*;version="1.1"}} while {{junit:junit:4.12}} depends on {{org.hamcrest:hamcrest-core:1.3}}
> {code:xml}
> <properties>
>     <pkgVersion>4.12</pkgVersion>
>     <pkgArtifactId>junit</pkgArtifactId>
>     <pkgGroupId>junit</pkgGroupId>
>     <servicemix.osgi.export>org.hamcrest*;version="1.1";-split-package:=merge-first,
>             org.junit*;version=${pkgVersion};-split-package:=merge-first,
>             junit*;version=${pkgVersion};-split-package:=merge-first</servicemix.osgi.export>
>   </properties>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)