Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-4751

camel-guice osgi import version range in manifest.mf

    Details

    • Patch Info:
      Patch Available
    • Estimated Complexity:
      Moderate

      Description

      in Camel-Guice component's pom.xml we have:
      <properties>
      <camel.osgi.export.pkg>org.apache.camel.guice.*</camel.osgi.export.pkg>
      <camel.osgi.import.additional>
      com.google.inject*;version="[2,3)"
      </camel.osgi.import.additional>
      </properties>

      i.e imported version of google-guice package is [2,3). Unfortunately this in not compatible with any of the releases from Google-Guice (version 2 or 3). Guice seems to maintain 'package' level versioning. "com.google.inject;version=1.3"

      Suggested:fix:
      Change the lower version from 2 to 1.2 .
      This bug is a showstopper for us to integrate and deploy solution with camel+guice+peaberry on to karaf osgi.

      We have from guice 3:
      guice
      ----------
      Manifest-Version = 1.0
      Archiver-Version = Plexus Archiver
      Built-By = mcculls
      Build-Jdk = 1.6.0_24
      Created-By = Apache Maven

      Bundle-Vendor = Google, Inc.
      Bundle-RequiredExecutionEnvironment = J2SE-1.5,JavaSE-1.6
      Bundle-Name = guice
      Bundle-Copyright = Copyright (C) 2006 Google Inc.
      Bundle-DocURL = http://code.google.com/p/google-guice/
      Bundle-Description = Guice is a lightweight dependency injection framework for J
      ava 5 and above
      Bundle-SymbolicName = com.google.inject
      Bundle-Version = 3.0.0
      Bundle-License = http://www.apache.org/licenses/LICENSE-2.0.txt
      Bundle-ManifestVersion = 2

      Import-Package =
      javax.inject,
      org.aopalliance.intercept
      Export-Package =
      com.google.inject.matcher;version=1.3,
      com.google.inject.name;version=1.3,
      com.google.inject.spi;version=1.3,
      com.google.inject.binder;version=1.3,
      com.google.inject.util;version=1.3,
      com.google.inject;version=1.3

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              surya108 surya
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: