Return-Path: X-Original-To: apmail-karaf-issues-archive@minotaur.apache.org Delivered-To: apmail-karaf-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 E1F0E9E61 for ; Wed, 22 Aug 2012 01:14:38 +0000 (UTC) Received: (qmail 47769 invoked by uid 500); 22 Aug 2012 01:14:38 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 47723 invoked by uid 500); 22 Aug 2012 01:14:38 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 47651 invoked by uid 99); 22 Aug 2012 01:14:38 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Aug 2012 01:14:38 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 1B7322C5BF7 for ; Wed, 22 Aug 2012 01:14:38 +0000 (UTC) Date: Wed, 22 Aug 2012 12:14:38 +1100 (NCT) From: "Freeman Fang (JIRA)" To: issues@karaf.apache.org Message-ID: <47190584.38107.1345598078113.JavaMail.jiratomcat@arcas> In-Reply-To: <683331436.36447.1345573298058.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (KARAF-1751) Spring feature dependencies specified too tightly 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/KARAF-1751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13439206#comment-13439206 ] Freeman Fang commented on KARAF-1751: ------------------------------------- To keep backward compatibility, we should explicitly specify the range but not let version="2.2.7" implicitly means "[2.2.7,2.2.8)" in feature > Spring feature dependencies specified too tightly > ------------------------------------------------- > > Key: KARAF-1751 > URL: https://issues.apache.org/jira/browse/KARAF-1751 > Project: Karaf > Issue Type: Bug > Components: karaf-feature > Affects Versions: 2.2.7 > Reporter: Chris Dolan > > Karaf 2.2.7 ships with the "http" feature that specifies pax-web 1.0.9. But I need fixes in pax-web 1.1.4 (for Jetty 7.6). So, I create my own override-features.xml with an "http" feature with version="2.2.7.override" with my version of pax-web. However, the spring-web feature (which is transitively required by CXF) declares this prereq: > {code} > http > {code} > where it should be something like "[2.2,2.3)" or "[2,3)". This too-tightly-specified version causes both pax-web 1.0.9 and 1.1.4 to be loaded into my container, causing lots of problems. > This is a issue for many of the Spring features. I request that the versions be loosened in the features.xml to allow people like me to selectively override transitive features. -- 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