Return-Path: X-Original-To: apmail-accumulo-dev-archive@www.apache.org Delivered-To: apmail-accumulo-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 0DD161009F for ; Tue, 24 Sep 2013 18:26:03 +0000 (UTC) Received: (qmail 24179 invoked by uid 500); 24 Sep 2013 18:26:01 -0000 Delivered-To: apmail-accumulo-dev-archive@accumulo.apache.org Received: (qmail 23832 invoked by uid 500); 24 Sep 2013 18:25:59 -0000 Mailing-List: contact dev-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list dev@accumulo.apache.org Received: (qmail 23820 invoked by uid 99); 24 Sep 2013 18:25:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Sep 2013 18:25:58 +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 josh.elser@gmail.com designates 209.85.160.51 as permitted sender) Received: from [209.85.160.51] (HELO mail-pb0-f51.google.com) (209.85.160.51) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Sep 2013 18:25:54 +0000 Received: by mail-pb0-f51.google.com with SMTP id jt11so4887704pbb.38 for ; Tue, 24 Sep 2013 11:25:33 -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=3sDfowE6nvP9HwbIViY2f7SPXdiii9b5cfsv5cXKb58=; b=JmTThIFPpmhpIURuvj1cjTM/qzqtQh7r7+1cyLcdaMrNslKaFYJoaNxRYMkRl3jJXH nLsTaflxR8vtfVEy1YwelMSo2c9Xk52Hig0oEpeBfdSKfSEvqw2h39tiyf1Y++8fSrn1 AdmAPPz/KzJAqpuvY9MpYYw6SdNsYhKsBD3xTMRVslctZ8DlGWbmG0U0QD8SJFoF2mxz YFejMxXmK3tP1ysUyo0nMbB+r0gimQ5Q1Y6AqPBKc6xpjiKrXuLpNBHHN6I+imX/zqpU wCzOSN9FMz/IEHWrGwGgPbrcsMDcKFQgg5jtCRHJDqeY6ZPwH5iWbo08kMdm/Si2OAhF P8LA== MIME-Version: 1.0 X-Received: by 10.66.250.138 with SMTP id zc10mr29987734pac.72.1380047133744; Tue, 24 Sep 2013 11:25:33 -0700 (PDT) Received: by 10.70.12.3 with HTTP; Tue, 24 Sep 2013 11:25:33 -0700 (PDT) In-Reply-To: References: Date: Tue, 24 Sep 2013 14:25:33 -0400 Message-ID: Subject: Re: MiniCluster and "provided" scope dependencies From: Josh Elser To: "dev@accumulo.apache.org" Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org being-lazy: do we have one that encompasses this issue already? Is there a good parent for me to piggy-back on to? On Tue, Sep 24, 2013 at 2:20 PM, Christopher wrote: > I agree. The provided stuff was done mainly to drive our packaging in > 1.5, not to cater to maven developers. There are a few open tickets > about this for 1.6. > > -- > Christopher L Tubbs II > http://gravatar.com/ctubbsii > > > On Tue, Sep 24, 2013 at 11:57 AM, Josh Elser wrote: >> I'm curious to hear what people think on this. >> >> I'm a really big fan of spinning up a minicluster instance to do some >> "more real" testing of software as I write it. >> >> With 1.5.0, it's a bit more painful because I have to add a bunch more >> dependencies to my project (which previously would only have to depend >> on the accumulo-minicluster artifact). The list includes, but is >> likely not limited to, commons-io, commons-configuration, >> hadoop-client, zookeeper, log4j, slf4j-api, slf4j-log4j12. >> >> Best as I understand it, the intent of this was that Hadoop will >> typically provide these artifacts at runtime, and therefore Accumulo >> doesn't need to re-bundle them itself which I'd agree with (not >> getting into that whole issue about the Hadoop "ecosystem"). However, >> I would think that the minicluster should have non-provided scope >> dependencies declared on these, as there is no Hadoop installation -- >> there's just the minicluster. As such, this would alleviate users from >> having to dig into our dependency management or trial&error to figure >> out what "extra" dependencies they have to include in their project to >> actually make it work >> >> Thoughts? >> >> - Josh