You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicemix.apache.org by "Krzysztof Sobkowiak (JIRA)" <ji...@apache.org> on 2015/03/08 21:57:39 UTC

[jira] [Created] (SM-2470) Wrong version range for joda-time in spring-context bundle

Krzysztof Sobkowiak created SM-2470:
---------------------------------------

             Summary: Wrong version range for joda-time in spring-context bundle
                 Key: SM-2470
                 URL: https://issues.apache.org/jira/browse/SM-2470
             Project: ServiceMix
          Issue Type: Bug
          Components: bundles
            Reporter: Krzysztof Sobkowiak
             Fix For: bundles-2015.03


All versions of the spring-context bundle define following import rules for joda-time dependency

{code}
org.joda.time;version="[1.6.0,2)";resolution:=optional,
org.joda.time.format;version="[1.6.0,2)";resolution:=optional,
{code}

Spring uses Joda Time 2.x (e.g. 3.2.7: https://github.com/spring-projects/spring-framework/blob/v3.2.7.RELEASE/build.gradle#L331). 

Due to the wrong range Spring resolves alway Joda Time 1.6.2, but most of ther bundles which use Joda Time resolve the version 2.x. This causes unnecessary installarion of Joda Time 1.6.2 and problems wikt bundle resolution (e.g. activiti)



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