aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bartosz Kowalewski (JIRA)" <j...@apache.org>
Subject [jira] Created: (ARIES-340) All projects that use org.apache.felix.configadmin should define exclusions for this artifact
Date Tue, 15 Jun 2010 22:23:22 GMT
All projects that use org.apache.felix.configadmin should define exclusions for this artifact
---------------------------------------------------------------------------------------------

                 Key: ARIES-340
                 URL: https://issues.apache.org/jira/browse/ARIES-340
             Project: Aries
          Issue Type: Bug
          Components: JMX, JPA, Subsystem, Web
            Reporter: Bartosz Kowalewski
         Attachments: aries-340.patch

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.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message