Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-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 08FF39C1A for ; Mon, 2 Apr 2012 17:02:33 +0000 (UTC) Received: (qmail 41302 invoked by uid 500); 2 Apr 2012 17:02:31 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 41238 invoked by uid 500); 2 Apr 2012 17:02:31 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 41231 invoked by uid 99); 2 Apr 2012 17:02:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2012 17:02:31 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bimargulies@gmail.com designates 74.125.82.176 as permitted sender) Received: from [74.125.82.176] (HELO mail-we0-f176.google.com) (74.125.82.176) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2012 17:02:27 +0000 Received: by werc1 with SMTP id c1so2433761wer.35 for ; Mon, 02 Apr 2012 10:02:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=kVFA9c+bqtkZ6tMIVcmQZIpcVa8hDH4F7pRQ5OlsEzk=; b=WE3uy3ocxiYsyDTjdt12JfdV2EAynqiZJWwJd5tdVuaRxg0zUWU6Lc+BalWe2UBAF9 HAagmKk04qpu0/4ll0JG737rDF8dv119wb4N7gHN9KxYCBLWNMny9EJil1dZDZO2Xf9h XPV6AFKuFtRHt/mwGYQlZKJ8xT15do+1ht4vpwp1dyWQ1aRgHD5FmsrwGhx2p0b/by02 fZzQzQl2X1zu8DsFx8Mf3pV7t0ZI3erWgTTHXQBj7gvblS4dHa62liLmIydfHPglFgH0 V7TsSY0Xyar+tPv4V1EgVTzkC2bpxvVzRJkLmGxiZM5jw7j6HruCjFQVcD6lY/7DIUb/ wluA== MIME-Version: 1.0 Received: by 10.180.102.102 with SMTP id fn6mr27316104wib.10.1333386125870; Mon, 02 Apr 2012 10:02:05 -0700 (PDT) Received: by 10.180.146.68 with HTTP; Mon, 2 Apr 2012 10:02:05 -0700 (PDT) In-Reply-To: References: Date: Mon, 2 Apr 2012 13:02:05 -0400 Message-ID: Subject: Re: carrot2 clustering in trunk uses OLDER jackson than 3.x? From: Benson Margulies To: dev@lucene.apache.org Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Apr 2, 2012 at 12:59 PM, Dawid Weiss wrote: > I'm afraid I'll have to say no to this. > > Carrot2 depends on many external libraries (much like Solr). You have > the freedom (or not) of shading or obfuscating or repackaging. Even > overriding with an explicit version of a given library as much as it's > API compatible with what the POM declares. Dawid, I don't think that you (carrot as a library) should do any shading. I think that when someone prepares a Solr component including carrot, that they should avoid dependencies that possibly conflict. Jackson is a particular risk factor, since 'minor' versions are mutually incompatible, so the presence of Jackson x.y precludes the use of some other package that requires jackson x.z. -benson > > Repackaging is fun but it's not a cure for all the problems. > > Dawid > > On Mon, Apr 2, 2012 at 6:55 PM, Benson Margulies wrote: >> On Mon, Apr 2, 2012 at 12:49 PM, Stanislaw Osinski >> wrote: >>> I think this is because the Carrot2 update to version 3.5.0.1 >>> (https://issues.apache.org/jira/browse/SOLR-3294) went only to the 3.x >>> branch, leaving trunk with the slightly older 3.5.0 version. There shouldn't >>> be any problems with applying the same update on trunk I think. This would >>> bring all the dependencies in sync. >> >> I think that you should 'shade' (package rename) carrot to hide the >> Jackson dependences. >>> >>> S. >>> >>> >>> On Mon, Apr 2, 2012 at 18:36, Robert Muir wrote: >>>> >>>> while reviewing dependencies, this looked funky: >>>> >>>> trunk: >>>> jackson-core-asl: 1.5.2 >>>> jackson-mapper-asl: 1.5.2 >>>> >>>> 3.x: >>>> jackson-core-asl: 1.7.4 >>>> jackson-mapper-asl: 1.7.4 >>>> >>>> Is this a mistake? or does jackson release numbers backwards? >>>> or is it intentional? if so I'd like to just add a comment... >>>> >>>> -- >>>> lucidimagination.com >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org >>>> For additional commands, e-mail: dev-help@lucene.apache.org >>>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org >> For additional commands, e-mail: dev-help@lucene.apache.org >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org > For additional commands, e-mail: dev-help@lucene.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org