Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 18716 invoked from network); 9 Jan 2010 20:59:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Jan 2010 20:59:15 -0000 Received: (qmail 97320 invoked by uid 500); 9 Jan 2010 20:59:14 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 97240 invoked by uid 500); 9 Jan 2010 20:59:14 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 97232 invoked by uid 99); 9 Jan 2010 20:59:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Jan 2010 20:59:14 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of elecharny@gmail.com designates 209.85.219.212 as permitted sender) Received: from [209.85.219.212] (HELO mail-ew0-f212.google.com) (209.85.219.212) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Jan 2010 20:59:06 +0000 Received: by ewy4 with SMTP id 4so21794500ewy.12 for ; Sat, 09 Jan 2010 12:58:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=gLzIHc/S2pxtB2jNEfBTMz1pUkQryJDHzFXfA+2k1CU=; b=S2pkucROJU+39lMCa1efF45nKoA4M3YxO+Re7WuWrmj6ZVF2XVQdC3O0fvjsv0Ua00 nPUfYbDlSzzlVv30hkzDHrfpA0mRbm6uCDKsiHArNr2VmGMgvvd6rToPZ9KPCfB/vwnX JKpe80fNZxqK2S0rtUDxZSOw2xG4z1capzgnU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=xaXXM7N+se1N7v0xnVwRamcjxuIaQl7oUXRe5l4bnLrQpLA+3roIt2iD7kdjzFnbaL f8uzYRYonnZmLOOvbvEOW8ZLA5z/6oBAmNoHQx+tXTurEvYx/8OTrSK8LuJuHhUtT+6j 5xKHwh+/0aEm5bC2B6ZOWkRG/jUR1bOCR0MZo= Received: by 10.213.110.11 with SMTP id l11mr1107801ebp.84.1263070724986; Sat, 09 Jan 2010 12:58:44 -0800 (PST) Received: from emmanuel-lecharnys-MacBook-Pro.local (vol75-3-82-66-216-176.fbx.proxad.net [82.66.216.176]) by mx.google.com with ESMTPS id 15sm2873866ewy.12.2010.01.09.12.58.43 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 09 Jan 2010 12:58:44 -0800 (PST) Message-ID: <4B48EE03.5060208@gmail.com> Date: Sat, 09 Jan 2010 21:58:43 +0100 From: =?UTF-8?B?RW1tYW51ZWwgTMKOY2hhcm55?= User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Apache Directory Developers List Subject: Re: Dependency cleanup References: <4B48E72A.8020004@apache.org> In-Reply-To: <4B48E72A.8020004@apache.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Stefan Seelmann a écrit : > Hi, > > I'd like to cleanup the dependencies of shared and apacheds. > > 1st I think we should remove unused external dependencies. > > In apacheds each module defines its own dependencies to several shared > projects. I had the idea to create a "shared-all" module that > aggregates all shared modules and to use this single "shared-all" in > apacheds. We could add it as dependency to apachds parent pom and > remove all other dependencies to shared. At the end I think we use all > shared modules somewhere in apacheds, this would help to avoid lot of > dependency declarations. At some point in the near future, we may want to see shared as a single jar (instead of having many of them). It makes totally sense to define such a module, as we did for apcheds-all sub-module, and not only to avoid those numerous dependencies to be included in the jars. So +1, absolutely. > > For internal dependencies I think it makes sense to use Mavens > transitive dependency resolution. E.g apacheds-core depends on > apacheds-api depends on apacheds-entry, in that case we can remove the > direct dependency apacheds-entry from apacheds-core. I *think* we don't include too many transitive dependencies in the pom.xml files, AFAICT after having done some inversigation. But as we have around 50 sub-projetcs, I may perfectly be wrong. In any case, +1 too.