directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen McConnell" <>
Subject RE: General question regarding dependencies
Date Sun, 05 Sep 2004 11:36:36 GMT

> -----Original Message-----
> From: Alex Karasulu []
> Sent: 05 September 2004 06:40
> To:
> Subject: General question regarding dependencies
> Hi,
> Guys I have a single class that a (maven) project depends on in
> 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
> enumerations?
> Should I just copy the class like many commons projects do (referring
> the what digester did with a particular collections class from
> 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.

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


> Alex

View raw message