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 52360200CC9 for ; Mon, 17 Jul 2017 15:24:27 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 5083D164EE4; Mon, 17 Jul 2017 13:24:27 +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 96463164EE3 for ; Mon, 17 Jul 2017 15:24:26 +0200 (CEST) Received: (qmail 58142 invoked by uid 500); 17 Jul 2017 13:24:24 -0000 Mailing-List: contact dev-help@edgent.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@edgent.apache.org Delivered-To: mailing list dev@edgent.apache.org Received: (qmail 58130 invoked by uid 99); 17 Jul 2017 13:24:24 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Jul 2017 13:24:24 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 132ECC02CF for ; Mon, 17 Jul 2017 13:24:24 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.379 X-Spam-Level: X-Spam-Status: No, score=0.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id ZZnF24HuGKEj for ; Mon, 17 Jul 2017 13:24:23 +0000 (UTC) Received: from mail-qt0-f169.google.com (mail-qt0-f169.google.com [209.85.216.169]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 09C655F5B8 for ; Mon, 17 Jul 2017 13:24:23 +0000 (UTC) Received: by mail-qt0-f169.google.com with SMTP id b40so105685667qtb.2 for ; Mon, 17 Jul 2017 06:24:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:subject:date:references :to:in-reply-to:message-id; bh=uwN9VTkBb4EnG/zInncfg7EM4Yr5RE8MXSlCuBpn4oo=; b=hBmPXOWS6IQ5605ALIi7xZVTk/LGcFIWp1cnKZGeRNsX/M2YXO7TErAhjKtS16+LUq lXmXFrZKhJ9CVL9GbqdPFNDnfkv/IXAU/H04EjFAslB4sCYuLEHhBpPsOkxkPIE0YVcE tpmCZgEcY0D5bkskTQLzAbVHjHHPXpmJdjI51k7yHSBqrPE48XKRDQm8MHXnq8zaJAc4 e+CxZgus9HS5fiFRYjqKHdfuyHXbIIOB6fiC4jMK3XkRyD53gfaTfwlRFau8IwaT+0np 6SBrUkUAytZlGJOyB/Ajs9TU99pLA8Ij6JnIuVFkn17KQJ8/9gVc0zxB8B5h9A1XEuIV LPqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=uwN9VTkBb4EnG/zInncfg7EM4Yr5RE8MXSlCuBpn4oo=; b=h70/aiD1tRb97tkB4xf/SfSCNLUM4rnuOzKtfPdpRL3CLtTdXVTG1QhFZ+c4aLJwdw c9Zf/MX3CxcKiKnX53FSHuz9kN1BxG1p1zc/NSGb+DmpQTctLvQKmsL5OdlKnNNkhq8/ hfNWbjOJdwz0qelECD1IITAQFfASZi+QbviX7DKeVh5XYpWPu6N5zzS5ztouFaMZIK0L ZOBadttCeGRX7r61iIuIY+pQqTf9zRbQ4pqhKUs9sIleWJsIOQYtJqgimhy+PbDMZ8bk mr8BvumyUZ6Z+kep8/6K6zdffFB/rmJfgyQP7ghVwRvl5F8WWxnOEDbJ+fPFSoL09tBJ xy8w== X-Gm-Message-State: AIVw113Fy0MucrQwupJdrmUJQ/G06Cirvq6SZzWxzLvB4Z71SqcK4vwI oB/MtqYNfd6PD3eOJcY= X-Received: by 10.200.10.10 with SMTP id b10mr25542879qti.226.1500297862307; Mon, 17 Jul 2017 06:24:22 -0700 (PDT) Received: from ?IPv6:2620:1f7:807:c4a::2:193? ([2620:1f7:807:c4a::2:193]) by smtp.gmail.com with ESMTPSA id x24sm7003600qtx.47.2017.07.17.06.24.21 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Jul 2017 06:24:21 -0700 (PDT) From: Dale LaBossiere Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Subject: Re: maven and distribution bundles with transitive deps: licensing¬ice Date: Mon, 17 Jul 2017 09:24:19 -0400 References: <503B9018-7131-4FD5-B275-863FB9E3A561@apache.org> To: dev@edgent.apache.org In-Reply-To: Message-Id: <9F161C5A-1A35-4C85-86A1-4C29E005CF49@gmail.com> X-Mailer: Apple Mail (2.3251) archived-at: Mon, 17 Jul 2017 13:24:27 -0000 Originally, the Edgent/Quarks repo had the actual dependent ext jars as = part of it and the bin release bundle copied them from there. Kafka was = a pretty large collection of things, many of which were completely = unneeded for our use due to the way it was packaged (e.g., its noms = pulled in a CLI arg handler, junit, ...). Hence the Edgent repo only = included the actual needed jars and their needed deps. When we went to gradle we retained that logical behavior. The = connector=E2=80=99s build.gradle describes the exact jars required, = using the =E2=80=9C@jar=E2=80=9D dependency syntax to exclude transitive = deps. There was no expectation/requirement of =E2=80=9Cprovided=E2=80=9D = on the part of the Edgent consumer. So that=E2=80=99s the history. If possible/practical, for now I think = it best to retain that behavior across the mvn conversion. Make sense? =E2=80=94 Dale > On Jul 13, 2017, at 2:48 AM, Christofer Dutz = wrote: >=20 > Hi Dale, >=20 > I just tested your script and it worked perfectly :-) >=20 > Regarding your observations: > - You mentioned in another post, that I should exclude any transitive = dependency of Kafka =E2=80=A6 The only valid reason I could see to need = this, if using Edgent in an environment in which Kafka is provided by = other means. The Maven way to handle such a situation is to mark that = dependency =E2=80=9Cprovided=E2=80=9D in which case it is used during = compilation, but is excluded from being pulled in automatically =E2=80=A6 = like the servlet-api jars which usually are provided by every servlet = container.