Return-Path: X-Original-To: apmail-hc-dev-archive@www.apache.org Delivered-To: apmail-hc-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4B21119DBF for ; Thu, 21 Apr 2016 16:03:26 +0000 (UTC) Received: (qmail 73838 invoked by uid 500); 21 Apr 2016 16:03:26 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 73795 invoked by uid 500); 21 Apr 2016 16:03:26 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 73754 invoked by uid 99); 21 Apr 2016 16:03:26 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Apr 2016 16:03:26 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id D0FAA2C1F7E for ; Thu, 21 Apr 2016 16:03:25 +0000 (UTC) Date: Thu, 21 Apr 2016 16:03:25 +0000 (UTC) From: "Gary Gregory (JIRA)" To: dev@hc.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HTTPCLIENT-1737) Apache HttpClient dependency on httpcore should specify tight version constraints 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/HTTPCLIENT-1737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15252109#comment-15252109 ] Gary Gregory commented on HTTPCLIENT-1737: ------------------------------------------ Hi Sam, {quote} HttpClient 4.2 is so old that I see no point even fixing it. {quote} Agreed but I think [~sam.davis]'s point is that some Eclipse plugins would update from one 4.2.x version to the next but not to 4.3 or above. [~sam.davis]? Gary > Apache HttpClient dependency on httpcore should specify tight version constraints > --------------------------------------------------------------------------------- > > Key: HTTPCLIENT-1737 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1737 > Project: HttpComponents HttpClient > Issue Type: Bug > Components: HttpClient > Reporter: Sam Davis > > Using Apache Http Client and Core in OSGi environments can fail if multiple versions are present, which is common (for example, Eclipse Mars includes Http versions 4.3.x, but many popular Eclipse plugins may include 4.2.x). The problem is that the dependency from the Http Client OSGi bundle to the Http Core OSGi bundle does not specify an upper bound, e.g. Cient 4.2.6 depends on Core 4.2.5 *or later.* This can cause Client 4.2.5 to use Core 4.3 which completely breaks any plugin that specifies tight version constraints on Client 4.2.6 and Core 4.2.5. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=492042 for more details. > When creating OSGi bundles, please specify exact version constraints in the manifest, e.g. Import-Package: org.apache.http;version="[4.2.5,4.2.6)", -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org