Return-Path: Delivered-To: apmail-incubator-directory-dev-archive@www.apache.org Received: (qmail 73932 invoked from network); 5 Sep 2004 13:29:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 5 Sep 2004 13:29:56 -0000 Received: (qmail 17993 invoked by uid 500); 5 Sep 2004 13:29:55 -0000 Delivered-To: apmail-incubator-directory-dev-archive@incubator.apache.org Received: (qmail 17926 invoked by uid 500); 5 Sep 2004 13:29:55 -0000 Mailing-List: contact directory-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Apache Directory Developers List" Reply-To: "Apache Directory Developers List" Delivered-To: mailing list directory-dev@incubator.apache.org Received: (qmail 17913 invoked by uid 99); 5 Sep 2004 13:29:55 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [166.84.147.110] (HELO alan.toolazydogs.com) (166.84.147.110) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 05 Sep 2004 06:29:53 -0700 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: General question regarding dependencies X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Date: Sun, 5 Sep 2004 09:27:45 -0400 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: General question regarding dependencies Thread-Index: AcSTPD6LuijLb8rlRPWTpZCzbF3EtgAD4kQA From: "Alan D. Cabrera" To: "Apache Directory Developers List" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > -----Original Message----- > From: Stephen McConnell [mailto:mcconnell@apache.org] >=20 > > -----Original Message----- > > From: Alex Karasulu [mailto:aok123@bellsouth.net] > > > > Hi, > > > > Guys I have a single class that a (maven) project depends on in > commons- > > lang. Generally I use commons-lang all over the place and think its > > great. But what do I do if I only depend on ValuedEnum to have type > safe > > enumerations? > > > > Should I just copy the class like many commons projects do (referring > to > > the what digester did with a particular collections class from > commons- > > collections)? Or should I just keep the dependency? I don't mind the > > dependency especially when where i use this project's artifact usually > > includes commons-lang. >=20 > IMO - If the class is used in a bootstrap scenario (i.e. you want to > keep thing a small as possible and minimize deps - then copy the class > (under a directory package name). Otherwise maintain the dependency > reference. +1 I think I know where this enum is used and it's really an internal class. IMHO, its dependency on commons-lang should be removed. Regards, Alan