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 DF717200AF5 for ; Thu, 2 Jun 2016 10:38:15 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id DE954160A3E; Thu, 2 Jun 2016 08:38:15 +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 31F55160A3A for ; Thu, 2 Jun 2016 10:38:15 +0200 (CEST) Received: (qmail 56699 invoked by uid 500); 2 Jun 2016 08:38:14 -0000 Mailing-List: contact log4j-user-help@logging.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Log4J Users List" Reply-To: "Log4J Users List" Delivered-To: mailing list log4j-user@logging.apache.org Received: (qmail 56688 invoked by uid 99); 2 Jun 2016 08:38:14 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jun 2016 08:38:14 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id AE8D6C64F4 for ; Thu, 2 Jun 2016 08:38:13 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.002 X-Spam-Level: X-Spam-Status: No, score=-0.002 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-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 (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id P0FIfhCqA4vL for ; Thu, 2 Jun 2016 08:38:13 +0000 (UTC) Received: from mail-pa0-f51.google.com (mail-pa0-f51.google.com [209.85.220.51]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 3176C5F24D for ; Thu, 2 Jun 2016 08:38:12 +0000 (UTC) Received: by mail-pa0-f51.google.com with SMTP id bz2so4206587pad.1 for ; Thu, 02 Jun 2016 01:38:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-transfer-encoding:mime-version:subject:message-id:date :references:in-reply-to:to; bh=l0YTeeiG/cvTNo6EkhrpT4cqH0KbcaViF3smiU0wZwk=; b=Tv7TKk8oLQs2yL+P/wdbOvS6+RZyk6KJApomwON8HZCvZuTDuQOQNXNtCwh4nNhgso N6mXEo+GCS+UNv3hgARUuSE2qK+fCoHEZXMv4B/GrMeDqKNnocJi7klORtN8UtOOoMyU yPWlNLQivVsfu1+FmxvtNWsVMeAghPnX4yodgToBahgWFFPR8hHleZQ/N23EsXseYLdP E4TL+18FJNhVmXjp9t1hgSj3LCkNOUseuEw9GhpeRFxz8wuoPlfNCn6y/+Sk0BysbHAb n+h9oqKWaYdmuTl68A7Wupflc9xRvSQM8jiIoALC8NGXShBzJEPVvxS1Yy7YhlI1s1Ck Ygig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:references:in-reply-to:to; bh=l0YTeeiG/cvTNo6EkhrpT4cqH0KbcaViF3smiU0wZwk=; b=WC/Vdwu+1bS9dYi+pSsc+lqaSYtOApM31SMysomQs4BNBZTJXdpshjbb2hRpih5Lx+ GNfcAWx09f0XFWkB+HeXsfOT734dj0khHvGjEk5aRTtbVlzxX92r+pdHWyCA/wPjDYIN tVXP7hEfTzlHAqncb8S6FGpL1WQ8Jp8H/LyaBjfgAg9Vd+bRMGqAf3rzI2R0LEiIF+BM ZMLfhxvvLS+YQKYnVaaR1rJesrp1+zUOh7Eid9mBekpZBoNjdXlV1ZQ6jE+uxx55cKbP ahyg8rRtYbnVtM8civPXJRhs/1VBNeJHY6HXimmebwhV7YW7+O0WPvE1bLcJMJ7TdXr6 moig== X-Gm-Message-State: ALyK8tJTZwgalHLs+Kviel414oxABI/xUR0qftMeCnSddJhWD98UeLh186Er6ewCLZX2cw== X-Received: by 10.66.123.37 with SMTP id lx5mr3782178pab.101.1464856690796; Thu, 02 Jun 2016 01:38:10 -0700 (PDT) Received: from [10.10.26.118] (pw126236040105.12.panda-world.ne.jp. [126.236.40.105]) by smtp.gmail.com with ESMTPSA id 22sm53616309pfw.92.2016.06.02.01.38.09 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 02 Jun 2016 01:38:10 -0700 (PDT) From: Remko Popma Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Subject: Re: BOM dependency with gradle Message-Id: <23E8655B-6C2F-4ADD-8C7E-D9E1776E2934@gmail.com> Date: Thu, 2 Jun 2016 17:38:03 +0900 References: In-Reply-To: To: Log4J Users List X-Mailer: iPhone Mail (13F69) archived-at: Thu, 02 Jun 2016 08:38:16 -0000 I explicitly specify the version for log4j-api and log4j-core as well.=20 Sent from my iPhone > On 2016/06/02, at 17:03, Greg Thomas wrote: >=20 > Is there a correct syntax to use the BOM dependency with gradle? >=20 > I've currently got the following ... >=20 > compile group: 'org.apache.logging.log4j,' name: 'log4j-bom', version: '2.= 6' > compile group: 'org.apache.logging.log4j', name: 'log4j-api' > compile group: 'org.apache.logging.log4j', name: 'log4j-core' >=20 > But dependency resolution fails ... >=20 > C:\Greg\test>gradlew dependencies > :dependencies >=20 > ------------------------------------------------------------ > Root project > ------------------------------------------------------------ >=20 > archives - Configuration for archive artifacts. > No dependencies >=20 > compile - Dependencies for source set 'main'. > +--- org.apache.logging.log4j:log4j-bom:2.6 > +--- org.apache.logging.log4j:log4j-api: FAILED > +--- org.apache.logging.log4j:log4j-core: FAILED > ... >=20 > What's the right syntax, if it's even possible? >=20 > Thanks, >=20 > Greg >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org > For additional commands, e-mail: log4j-user-help@logging.apache.org >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-user-help@logging.apache.org