Return-Path: X-Original-To: apmail-logging-log4j-dev-archive@www.apache.org Delivered-To: apmail-logging-log4j-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 6558EC7DF for ; Fri, 7 Mar 2014 13:49:07 +0000 (UTC) Received: (qmail 49817 invoked by uid 500); 7 Mar 2014 13:49:06 -0000 Delivered-To: apmail-logging-log4j-dev-archive@logging.apache.org Received: (qmail 49516 invoked by uid 500); 7 Mar 2014 13:48:59 -0000 Mailing-List: contact log4j-dev-help@logging.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Log4J Developers List" Reply-To: "Log4J Developers List" Delivered-To: mailing list log4j-dev@logging.apache.org Received: (qmail 49506 invoked by uid 99); 7 Mar 2014 13:48:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Mar 2014 13:48:55 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,MIME_QP_LONG_LINE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of boards@gmail.com designates 209.85.223.181 as permitted sender) Received: from [209.85.223.181] (HELO mail-ie0-f181.google.com) (209.85.223.181) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Mar 2014 13:48:50 +0000 Received: by mail-ie0-f181.google.com with SMTP id tp5so4287132ieb.40 for ; Fri, 07 Mar 2014 05:48:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:mime-version:subject :message-id:date:references:in-reply-to:to; bh=Lc7chECYJW+RyMIfZPy08pX8gH/C2BDFovrABiSfK4M=; b=Mk6qDXPe4wnHx0EipqEneAxBVJus0q6K7hnIUNs7X1gB60cL4LFHGZWihhDYCS+KHP GVTYo4hFX/CPRsW2kp+z8swOs8LNoq/SRaNvzDkjIDR+d8ErG+35q2Qt6vi/M2e5+xjM NeG1rHBYyIJqnv2ItrAku8rDITYsUuTAwivtA5ncrZejqgGYI5Bjv0qqCGYR6D081MHR CKb0KiwIrPQ+/XPjy2VYKWQjuGZ3PN5xGv60zXDcASDcgiO+Go9adJpql+8TDfKmIaNB Zrz9L7Ys0Xm/HPSsOXuCUxtPM8eQEuRQeei/MJCUYBtKpwYw017U7cf/vN+rRyOVMbgt pxJA== X-Received: by 10.43.69.83 with SMTP id yb19mr14868824icb.45.1394200109917; Fri, 07 Mar 2014 05:48:29 -0800 (PST) Received: from [10.177.83.108] (mobile-166-147-102-047.mycingular.net. [166.147.102.47]) by mx.google.com with ESMTPSA id rj10sm4249274igc.8.2014.03.07.05.48.28 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 07 Mar 2014 05:48:29 -0800 (PST) From: Matt Sicker Content-Type: multipart/alternative; boundary=Apple-Mail-6E7C1AA0-0231-4EB6-8A21-20890E68AB59 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (1.0) Subject: Re: Should we emphasize the usage of our Bill of Material pom? Message-Id: <863291FE-5DC9-4FA7-99E5-A976E1CE976E@gmail.com> Date: Fri, 7 Mar 2014 07:48:29 -0600 References: In-Reply-To: To: Log4J Developers List X-Mailer: iPhone Mail (11B651) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-6E7C1AA0-0231-4EB6-8A21-20890E68AB59 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Also, the BOM is handy when you want to use Flume. Our projects at work use v= arious logger frameworks right now, so being able to pull in all the binding= s consistently is a nice feature. Also, if you use independent package or bundle versions in an OSGi environme= nt, I could see a BOM being a handy concept. Matt Sicker > On Mar 7, 2014, at 6:09, Ralph Goers wrote: >=20 > Just for grins, do you know who added "import" scope (and hence, support f= or BOM poms) to Maven? =20 >=20 > BOM poms are quite useful when you have a set of projects that are indepen= dently versioned, but when they all have the same version the usefulness dis= appears as you will typically just define a variable such as log4j.version, a= ssign it a value, and then use it on all the Log4j dependencies. Yes, you ca= n just specify the BOM pom in the dependency management section, but in the v= ast majority of cases I would expect users are only going to use 2 or 3 Log4= j jars. >=20 > Ironically, I created import scope because we had a project where the indi= vidual subprojects were independently versioned. When we switched to have th= em all use the same version we dropped the BOM pom. >=20 > Fro these reasons I don't think we need to emphasize using the BOM pom. At= the same time, I don't see a problem mentioning it with an example in the M= aven section of the doc. >=20 > Ralph >=20 >> On Mar 6, 2014, at 9:10 PM, Matt Sicker wrote: >>=20 >> See for example any of the guides at Arquillian . Using a BOM pom is handy as a way to keep dependency groups in sync.= It also allows for smaller pom.xml files. I'm not sure what an equivalent s= cript would be using Ivy, but that sort of documentation and support might b= e rather useful as well. >>=20 >> I'll make the changes in a branch to show what I mean. >>=20 >> --=20 >> Matt Sicker --Apple-Mail-6E7C1AA0-0231-4EB6-8A21-20890E68AB59 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Also, the BOM is handy when you want t= o use Flume. Our projects at work use various logger frameworks right now, s= o being able to pull in all the bindings consistently is a nice feature.

Also, if you use independent package or bundle version= s in an OSGi environment, I could see a BOM being a handy concept.

Ma= tt Sicker

On Mar 7, 2014, at 6:09, Ralph Goers <rgoers@apache.org> wrote:

Just for grins, do you know who added "import" s= cope (and hence, support for BOM poms) to Maven?   

=
BOM poms are quite useful when you have a set of projects that ar= e independently versioned, but when they all have the same version the usefu= lness disappears as you will typically just define a variable such as log4j.= version, assign it a value, and then use it on all the Log4j dependencies. Y= es, you can just specify the BOM pom in the dependency management section, b= ut in the vast majority of cases I would expect users are only going to use 2= or 3 Log4j jars.

Ironically, I created import scop= e because we had a project where the individual subprojects were independent= ly versioned. When we switched to have them all use the same version we drop= ped the BOM pom.

Fro these reasons I don't think we need to emphasize= using the BOM pom. At the same time, I don't see a problem mentioning it wi= th an example in the Maven section of the doc.

Ralph

On Mar 6, 2014, at 9:10 PM, Matt Sicker <boards@gmail.com> wrote:

= --Apple-Mail-6E7C1AA0-0231-4EB6-8A21-20890E68AB59--