Uploaded image for project: 'Aries'
  1. Aries
  2. ARIES-340

All projects that use org.apache.felix.configadmin should define exclusions for this artifact

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.2
    • JMX, JPA, Subsystem, Web
    • None

    Description

      org.osgi.foundation is a transitive dependency of the org.apache.felix.configadmin artifact. Unfortunately, org.osgi.foundation contains classes that are normally shipped with JDK and this leads to problems with compiling projects under Eclipse (as 'mvn eclipse:eclipse' places the classpath entry for org.osgi.foundation above the one for the JDK).

      <dependency>
      <groupId>org.apache.felix</groupId>
      <artifactId>org.apache.felix.configadmin</artifactId>
      <version>1.2.4</version>
      <exclusions>
      <exclusion>
      <groupId>org.apache.felix</groupId>
      <artifactId>org.osgi.compendium</artifactId>
      </exclusion>
      <exclusion>
      <groupId>org.apache.felix</groupId>
      <artifactId>org.osgi.core</artifactId>
      </exclusion>
      </exclusions>
      </dependency>

      Should be used instead of:

      <dependency>
      <groupId>org.apache.felix</groupId>
      <artifactId>org.apache.felix.configadmin</artifactId>
      <version>1.2.4</version>
      </dependency>

      This change has already been applied to several Aries subprojects, but it hasn't for jpa, jmx, subsystem, and web.

      Attachments

        1. aries-340.patch
          4 kB
          Bartosz Kowalewski

        Activity

          People

            gawor@mcs.anl.gov Jarek Gawor
            bartosz Bartosz Kowalewski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: