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 17:59:58 UTC

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

Krystian Brazulewicz created SMX4-1991:
------------------------------------------

             Summary: 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


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