• Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • jboss-fuse-6.2.1
    • jboss-fuse-6.2
    • Camel, CXF, Karaf
    • None
    • % %

      By default there is joda time 1.6.2 in fuse

      JBossFuse:karaf@root> exports | grep joda
         169 org.springframework.format.datetime.joda; version=3.2.12.RELEASE
         189 org.joda.time; version=1.6.2            
         189 org.joda.time.base; version=1.6.2       
         189 org.joda.time.chrono; version=1.6.2     
         189 org.joda.time.convert; version=1.6.2    
         189 org.joda.time.field; version=1.6.2      
         189 org.joda.time.format; version=1.6.2     
         189 org.joda.time.tz; version=1.6.2
      

      installation of cxf-rt-security introduces joda time 2.5.0

      JBossFuse:karaf@root> features:install cxf-rt-security
      JBossFuse:karaf@root> exports | grep joda
         169 org.springframework.format.datetime.joda; version=3.2.12.RELEASE
         189 org.joda.time; version=1.6.2            
         189 org.joda.time.base; version=1.6.2       
         189 org.joda.time.chrono; version=1.6.2     
         189 org.joda.time.convert; version=1.6.2    
         189 org.joda.time.field; version=1.6.2      
         189 org.joda.time.format; version=1.6.2     
         189 org.joda.time.tz; version=1.6.2         
         267 org.joda.time; version=2.5.0            
         267 org.joda.time.base; version=2.5.0       
         267 org.joda.time.chrono; version=2.5.0     
         267 org.joda.time.convert; version=2.5.0    
         267 org.joda.time.field; version=2.5.0      
         267 org.joda.time.format; version=2.5.0     
         267 org.joda.time.tz; version=2.5.0         
      

      Once there are two joda time versions, feature camel-spring-ldap fails to install

      JBossFuse:karaf@root> features:install camel-spring-ldap
      Error executing command: Could not start bundle mvn:org.springframework.data/spring-data-commons/1.6.1.RELEASE in feature(s) camel-spring-ldap-2.15.1.redhat-620117: Uses constraint violation. Unable to resolve bundle revision org.springframework.data.core [281.0] because it is exposed to package 'org.joda.time' from bundle revisions joda-time [267.0] and joda-time [189.0] via two dependency chains.
      
      Chain 1:
        org.springframework.data.core [281.0]
          import: (&(osgi.wiring.package=org.joda.time)(version>=2.1.0)(!(version>=3.0.0)))
           |
          export: osgi.wiring.package=org.joda.time
        joda-time [267.0]
      
      Chain 2:
        org.springframework.data.core [281.0]
          import: (&(osgi.wiring.package=org.springframework.format.support)(version>=3.0.7)(!(version>=4.1.0)))
           |
          export: osgi.wiring.package=org.springframework.format.support; uses:=org.joda.time
        org.apache.servicemix.bundles.spring-context [169.0]
          import: (&(osgi.wiring.package=org.joda.time)(version>=1.6.0)(!(version>=2.0.0)))
           |
          export: osgi.wiring.package=org.joda.time
        joda-time [189.0]
      
      

              ggrzybek Grzegorz Grzybek
              jludvice Josef Ludvicek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: