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 02179200B8F for ; Fri, 30 Sep 2016 22:30:46 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 00762160AD9; Fri, 30 Sep 2016 20:30:46 +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 160B0160AB4 for ; Fri, 30 Sep 2016 22:30:44 +0200 (CEST) Received: (qmail 1665 invoked by uid 500); 30 Sep 2016 20:30:44 -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 1649 invoked by uid 99); 30 Sep 2016 20:30:43 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Sep 2016 20:30:43 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 544EF180510 for ; Fri, 30 Sep 2016 20:30:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-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: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id wrJl9sOdjHZ4 for ; Fri, 30 Sep 2016 20:30:40 +0000 (UTC) Received: from mail-vk0-f46.google.com (mail-vk0-f46.google.com [209.85.213.46]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 42B1B5FB90 for ; Fri, 30 Sep 2016 20:30:40 +0000 (UTC) Received: by mail-vk0-f46.google.com with SMTP id v205so114128016vke.1 for ; Fri, 30 Sep 2016 13:30:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=Vr+LPlQzBvy+ODHE+e1bRyFqXdfGRP/7JLpaZpfZxJ4=; b=tqUuoUGdUtxklB+HeiaPBK8l0DYCCi0JQxz4S+oGo7ZQCRs7v9LAkZPcSNFylHZ+7+ 0aCw/Sa6YBEw/jNNyDNEdgp/ryB/2YWvbbAbAEBzXN6XXOZkaVVm0+Zl8gmZ0NN0mIAK csuxMB34ImppLfm467coWfsyN7ymxpi3TAMwE/26FtmiRyHccClAASUIX1dS/82IKi5L 7ms2GrPEgDXeKeCwY//aPBdu0VBllYJKcdVo62Ng8VkANaPJzltg7beRe37nNULy+H+Q apb1RHCMy41KteYlcO+wK37ZtaqEGLZAUh4Ru8+OIbmlwxRl4jMKLnCwvs6jqHaGbYlh PnYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=Vr+LPlQzBvy+ODHE+e1bRyFqXdfGRP/7JLpaZpfZxJ4=; b=U0PIuEXP3Or9QThFRa2CIGIomyXgFw8ZE3PVIu7liOhqhjY6/qRz+4GDO3wS9OMeuA 68HPBkW/JwwHeLOsE0rnYcotXBhYNl74XU/sq9iSB1IlbfM9S6s3SSQAKU2tqZonXsTo Nda4cTavEi4LiKCpZs8OZe5a7yMVoe03OQk9iOs0iZOdDmPliYO8wlFmtDS1+IYjaj3q ENUU+1QQ3vmd16dTbuwLN+RjxCv9qgvCdaaIvSXSgSq+Bd84S2zDI9FFfSsWDl62MRS0 aO3COybnxNUH6vHgsYZJ2WfSMHDuyy1d9n2exQwveaFVaY+WitsHnV9TQzfPCuuSXPy6 pgGQ== X-Gm-Message-State: AA6/9RkaUC/PVAdxMOYaGdIftq5qyi8JFtDu4D2VfH/yXCCcXFXDJReGvG8ld+Zsgv9J6enk/HbB5f3AU+qDcw== X-Received: by 10.31.55.135 with SMTP id e129mr6809695vka.8.1475267439196; Fri, 30 Sep 2016 13:30:39 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: David Smiley Date: Fri, 30 Sep 2016 20:30:28 +0000 Message-ID: Subject: Re: SolrJ 6.2 now depends on Google-Guava and Jackson WTF?! To: "dev@lucene.apache.org" Content-Type: multipart/alternative; boundary=001a1144728ea9a4f4053dbf7756 archived-at: Fri, 30 Sep 2016 20:30:46 -0000 --001a1144728ea9a4f4053dbf7756 Content-Type: text/plain; charset=UTF-8 Furthermore, changes to SolrJ dependencies should be noted clearly in CHANGES.txt (e.g. new SolrJ dependency XYZ for purpose ___, or updated SolrJ dependency XYZ to 1.2.3). I see no reference to this in CHANGES.txt. On Fri, Sep 30, 2016 at 4:24 PM David Smiley wrote: > 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 > -- Lucene/Solr Search Committer, Consultant, Developer, Author, Speaker LinkedIn: http://linkedin.com/in/davidwsmiley | Book: http://www.solrenterprisesearchserver.com --001a1144728ea9a4f4053dbf7756 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Furthermore, changes to SolrJ dependencies should be noted= clearly in CHANGES.txt (e.g. new SolrJ dependency XYZ for purpose ___, or = updated SolrJ dependency XYZ to 1.2.3).=C2=A0 I see no reference to this in= CHANGES.txt.

On Fri, Se= p 30, 2016 at 4:24 PM David Smiley <david.w.smiley@gmail.com> wrote:
I was updating a project of mine today from = SolrJ 6.0.0 to 6.2.1 and ran into a classpath incompatibility problem perta= ining to Guava.=C2=A0 I execute "mvn dependency:tree" to see what= 's going on and I see a huge WTF -- SolrJ depends on Guava!=C2=A0 Since= when?! =C2=A06.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 Jack= son now too!

Sorry, this is not okay and I feel strongly= about this.=C2=A0 Very deliberate care should be taken to our SolrJ depend= encies since they are used in many environments, and dependencies there add= a burden on anyone using Solr. =C2=A0**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.=C2=A0 Can we agree to = do this from now on?

Fortunately, it *appears* tha= t the usage is pretty minimal?=C2=A0 Greg Chanan / Steve Rowe, it appears t= he Guava dependency is just a couple import statements for annotations.=C2= =A0 Is that it?=C2=A0 I manually 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 Noggit.

~ David
--
Lucene/Solr Search Committer, Consultant, Developer, Au= thor, Speaker
--
Lucene/Solr Search Committer, Consultant, Dev= eloper, Author, Speaker
--001a1144728ea9a4f4053dbf7756--