Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-3519

Dependency chain error for javax.persistence

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jboss-fuse-6.1
    • jboss-fuse-6.0
    • None
    • None
    • % %

      The customer can't install the following features in Fuse 6.0:

      JBossFuse:karaf@root> features:install camel-sql
      Refreshing bundles org.springframework.context.support (104)
      JBossFuse:karaf@root> features:install camel-jdbc
      JBossFuse:karaf@root> features:install spring-orm
      Refreshing bundles org.springframework.context (106)
      JBossFuse:karaf@root> features:install jpa-hibernate
      Refreshing bundles org.springframework.orm (236)
      JBossFuse:karaf@root> features:install camel-jpa
      Refreshing bundles org.springframework.orm (236), org.springframework.context (106)
      Error executing command: Could not start bundle mvn:org.springframework/spring-context-support/3.1.3.RELEASE in feature(s) servicemix-quartz-2012.01.0.redhat-60024, spring-3.1.3.RELEASE: Uses constraint violation. Unable to resolve bundle revision org.springframework.orm [236.0] because it is exposed to package 'javax.persistence' from bundle revisions org.apache.geronimo.specs.geronimo-jpa_2.0_spec [252.0] and org.apache.servicemix.specs.java-persistence-api-1.1.1 [237.0] via two dependency chains.
      
      Chain 1:
        org.springframework.orm [236.0]
          import: (&(osgi.wiring.package=javax.persistence)(version>=1.0.0)(!(version>=3.0.0)))
           |
          export: osgi.wiring.package=javax.persistence
        org.apache.geronimo.specs.geronimo-jpa_2.0_spec [252.0]
      
      Chain 2:
        org.springframework.orm [236.0]
          import: (&(osgi.wiring.package=org.hibernate.annotations)(version>=3.2.0)(!(version>=5.0.0)))
           |
          export: osgi.wiring.package=org.hibernate.annotations; uses:=javax.persistence
        com.springsource.org.hibernate [249.0]
          import: (&(osgi.wiring.package=javax.persistence)(version>=1.0.0)(!(version>=2.0.0)))
           |
          export: osgi.wiring.package=javax.persistence
        org.apache.servicemix.specs.java-persistence-api-1.1.1 [237.0]
      

            janstey@redhat.com Jonathan Anstey
            hkonsek Henryk Konsek (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: