Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-2584

Use overrides.properties to override joda-time version

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 6.0.0
    • assemblies
    • None

    Description

      SM-2469 is a sample of problem introduced by some features installing joda-time in differrent versions – some standard features install the version 2.2 of joda-time bundle (and don't use the obr resolver) and bundles which depend on joda-time wire to this bundle. Later installation of activiti fails, because it needs higher version of joda-time (2.6) and activiti tries to resolve this bundle via multiple paths.

      In SM-2469 we have configured the correct version of joda-time to be installed in early startup stage in startup.properties. It forces the bundle to be installed first and all other bundles wire to this version. It has solved the problem. But other features still install the version 2.2 of joda-time.

      We can use the override.properties file (KARAF-2752) to override all features installing joda-time with version from range [2,3) to install the correct version of this bundle

      Attachments

        Activity

          People

            sobkowiak Krzysztof Sobkowiak
            sobkowiak Krzysztof Sobkowiak
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: