You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Jarek Gawor (JIRA)" <ji...@apache.org> on 2010/06/16 01:30:25 UTC
[jira] Resolved: (ARIES-340) All projects that use
org.apache.felix.configadmin should define exclusions for this artifact
[ https://issues.apache.org/jira/browse/ARIES-340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jarek Gawor resolved ARIES-340.
-------------------------------
Assignee: Jarek Gawor
Fix Version/s: 0.2
Resolution: Fixed
Committed the patch in revision 955085. Thanks a lot!
> 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
> Assignee: Jarek Gawor
> Fix For: 0.2
>
> 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.