Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E73A2200B8F for ; Fri, 30 Sep 2016 22:25:16 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E5D58160AD9; Fri, 30 Sep 2016 20:25:16 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0FE53160AB4 for ; Fri, 30 Sep 2016 22:25:15 +0200 (CEST) Received: (qmail 86665 invoked by uid 500); 30 Sep 2016 20:25:15 -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 86650 invoked by uid 99); 30 Sep 2016 20:25:14 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Sep 2016 20:25:14 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 4F7371A52DB for ; Fri, 30 Sep 2016 20:25:14 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.658 X-Spam-Level: ** X-Spam-Status: No, score=2.658 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, PLING_QUERY=0.279, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 3hkWVBa_sF-D for ; Fri, 30 Sep 2016 20:25:12 +0000 (UTC) Received: from mail-ua0-f177.google.com (mail-ua0-f177.google.com [209.85.217.177]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 460765FB3D for ; Fri, 30 Sep 2016 20:25:12 +0000 (UTC) Received: by mail-ua0-f177.google.com with SMTP id q42so104368740uaq.2 for ; Fri, 30 Sep 2016 13:25:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=AkUYTq2R58s6YtNmcHeFlvLJ5bvMUH35hnhjGebgYxw=; b=k0jC/Xz8IZNwkPGMXKG76OmGD6GvZs47D9/0oCgB7QP1abONzcFui3fMkNMCZS5RAD Gz14Iqmlx3huMCv8CeaFOq5CuCl4mAlG3uW4fTb+dz5CELnh2YcefhacNsWjpHMsZaNo U93rlrLddOJ1twme0VodiAQpZ869FigwtkyJei0DNqQlsZMlwY7m17YpYTpJFg+LOssB JV5CT/5+dsany9BGd24SkpwEb2TGBBTe1TIUQbTsXyec/7Lv76UrRmocykSrn8V9dFmT Hs2T8eZ+sKW+9mFOyIEkRLQArzr8EUu3HK6DISqk1RXJvY1p1llz4S8geLJ+jI2D8W7a tHKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=AkUYTq2R58s6YtNmcHeFlvLJ5bvMUH35hnhjGebgYxw=; b=Y+RSYC2Vk8bzl4zmOR2Cju/RvGMjrMBibpbvlNtE1djnO5xblGUTMHLNlkCqb+C+Nj rrQ5p+ElN2M68Rh/uE/s/Ei3t1o+tIASrvkNQn4se2uv972YSGpueoLVOxtzfzA3wONB 391pVJ5145DKA39QfCOzkjDTkGvQKJXqpoFIi0vq2wrHJxMKYS0veOnzH4+CRPRam3UC /6vr+Y5ahNxZ8cj894xTpGP6QxxViUVxU4KUlK1ZE5Blct9X48iEpk883iuB0iGPDqzF 7iGg6U2FfJzndWAZ/kO1S02fM2xX74xnk3+/3Nq+86PcdNrEonoSHTsouKAiOktlmTmb 5ETg== X-Gm-Message-State: AA6/9RnAlQVRXtbHK5p8X2yRNUuqJmgmUloQh51qo9U7pS4Q61PAF4TwPODIW3ZjYsEurQWCMCiqZeaWC7v3OQ== X-Received: by 10.159.38.104 with SMTP id 95mr6782841uag.66.1475267106009; Fri, 30 Sep 2016 13:25:06 -0700 (PDT) MIME-Version: 1.0 From: David Smiley Date: Fri, 30 Sep 2016 20:24:55 +0000 Message-ID: Subject: SolrJ 6.2 now depends on Google-Guava and Jackson WTF?! To: "dev@lucene.apache.org" , Gregory Chanan Content-Type: multipart/alternative; boundary=001a113e23f8cd78cd053dbf6309 archived-at: Fri, 30 Sep 2016 20:25:17 -0000 --001a113e23f8cd78cd053dbf6309 Content-Type: text/plain; charset=UTF-8 I was updating a project of mine today from SolrJ 6.0.0 to 6.2.1 and ran into a classpath incompatibility problem pertaining to Guava. I execute "mvn dependency:tree" to see what's going on and I see a huge WTF -- SolrJ depends on Guava! Since when?! 6.2.0 apparently and in this issue -- https://issues.apache.org/jira/browse/SOLR-9200 Oh wow it depends on Jackson now too! Sorry, this is not okay and I feel strongly about this. Very deliberate care should be taken to our SolrJ dependencies since they are used in many environments, and dependencies there add a burden on anyone using Solr. **Adding SolrJ dependencies should be announced**; either in their own issue with appropriate title or noted in the dev list (not a JIRA issue) so as to be noticed. Can we agree to do this from now on? Fortunately, it *appears* that the usage is pretty minimal? Greg Chanan / Steve Rowe, it appears the Guava dependency is just a couple import statements for annotations. Is that it? I manually excluded guava from my SolrJ dependency in the pom.xml along with things like Woodstox which I always exclude. I'm not sure yet about the scope of Jackson; we haven't needed that to date as we've got Noggit. ~ David -- Lucene/Solr Search Committer, Consultant, Developer, Author, Speaker LinkedIn: http://linkedin.com/in/davidwsmiley | Book: http://www.solrenterprisesearchserver.com --001a113e23f8cd78cd053dbf6309 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I was updating a project of mine today from SolrJ 6.0.0 to= 6.2.1 and ran into a classpath incompatibility problem pertaining to Guava= .=C2=A0 I execute "mvn dependency:tree" to see what's going o= n and I see a huge WTF -- SolrJ depends on Guava!=C2=A0 Since when?! =C2=A0= 6.2.0 apparently and in this issue --=C2=A0https://issues.apache.org/jira/browse/SOLR-9200= =C2=A0 =C2=A0 Oh wow it depends on Jackson now too!

= Sorry, this is not okay and I feel strongly about this.=C2=A0 Very delibera= te care should be taken to our SolrJ dependencies since they are used in ma= ny environments, and dependencies there add a burden on anyone using Solr. = =C2=A0**Adding SolrJ dependencies should be announced**; either in their ow= n issue with appropriate title or noted in the dev list (not a JIRA issue) = so as to be noticed.=C2=A0 Can we agree to do this from now on?
<= br>
Fortunately, it *appears* that the usage is pretty minimal?= =C2=A0 Greg Chanan / Steve Rowe, it appears the Guava dependency is just a = couple import statements for annotations.=C2=A0 Is that it?=C2=A0 I manuall= y excluded guava from my SolrJ dependency in the pom.xml along with things = like Woodstox which I always exclude.=C2=A0 I'm not sure yet about the = scope of Jackson; we haven't needed that to date as we've got Noggi= t.

~ David
--
Lucene/Solr= Search Committer, Consultant, Developer, Author, Speaker
--001a113e23f8cd78cd053dbf6309--