Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B453E988D for ; Tue, 22 May 2012 20:23:43 +0000 (UTC) Received: (qmail 56017 invoked by uid 500); 22 May 2012 20:23:43 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 55326 invoked by uid 500); 22 May 2012 20:23:42 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 55096 invoked by uid 99); 22 May 2012 20:23:42 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 May 2012 20:23:42 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 3BAD3142826 for ; Tue, 22 May 2012 20:23:42 +0000 (UTC) Date: Tue, 22 May 2012 20:23:42 +0000 (UTC) From: "Oliver Heger (JIRA)" To: issues@commons.apache.org Message-ID: <1647211680.9410.1337718222258.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1299732383.449.1330475938615.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (CONFIGURATION-482) Optional dependencies are not marked optional in the manifest's Import-Package section MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CONFIGURATION-482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oliver Heger resolved CONFIGURATION-482. ---------------------------------------- Resolution: Fixed Fix Version/s: 1.9 Fixed in subversion in revision 1341612. The property suggested by Chris was added to the pom. Many thanks! > Optional dependencies are not marked optional in the manifest's Import-Package section > -------------------------------------------------------------------------------------- > > Key: CONFIGURATION-482 > URL: https://issues.apache.org/jira/browse/CONFIGURATION-482 > Project: Commons Configuration > Issue Type: Bug > Components: Build > Affects Versions: 1.8 > Reporter: Chris Seieroe > Priority: Minor > Fix For: 1.9 > > > The following page lists the runtime dependencies based on the components. This is reflected in the pom file since many are listed as optional (e.g. commons-jexl). However, if you want to use commons-configuration in an OSGi container, those become required because the corresponding packages are listed in the manifest's Import-Package section. They do not have the "resolution:=optional" qualifier on it so you get an error if you do not include something like commons-jexl yourself. > http://commons.apache.org/configuration/dependencies.html -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira