Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 97257 invoked from network); 29 Jul 2006 21:30:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Jul 2006 21:30:35 -0000 Received: (qmail 99727 invoked by uid 500); 29 Jul 2006 21:30:35 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 99692 invoked by uid 500); 29 Jul 2006 21:30:35 -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 99681 invoked by uid 99); 29 Jul 2006 21:30:34 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Jul 2006 14:30:34 -0700 X-ASF-Spam-Status: No, hits=1.9 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 212.27.42.28 is neither permitted nor denied by domain of elecharny@gmail.com) Received: from [212.27.42.28] (HELO smtp2-g19.free.fr) (212.27.42.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Jul 2006 14:30:34 -0700 Received: from [192.168.0.1] (vol75-3-82-66-216-176.fbx.proxad.net [82.66.216.176]) by smtp2-g19.free.fr (Postfix) with ESMTP id 23FCA747E3 for ; Sat, 29 Jul 2006 23:30:13 +0200 (CEST) Message-ID: <44CBD585.7000601@gmail.com> Date: Sat, 29 Jul 2006 23:39:17 +0200 From: Emmanuel Lecharny Reply-To: elecharny@iktek.com User-Agent: Mozilla Thunderbird 1.0.7 (X11/20050923) X-Accept-Language: fr, en MIME-Version: 1.0 To: Apache Directory Developers List Subject: Re: ApacheDS Maven POM and inherited dependencies References: <1154207061.9454.15.camel@trout> In-Reply-To: <1154207061.9454.15.camel@trout> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N John E. Conlon a �crit : >Inside the trunks/apacheds/pom.xml one dependency is specified. > > org.apache.directory.shared > shared-ldap > 0.9.6-SNAPSHOT > > >And this dependency and its transitive dependencies cascade down the >inheritance chain adversely effecting children that don't need shared- >ldap (and its transitives) - like the osgi projects. > >This kind of dependency is not a good thing to have in a ancestor pom >unless all its descendants need it > All its descendants need it, atm :) (Well, not exactly true, because we have many protocol-xxx projects that don't need this jar) >, and that is not the case for >apacheds. > Well, may be the problem is not the apacheds sub-project itslef, but the fact that sub-sub projects like protocolas are into apacheds sub-project ? >So that dep needs to be removed from the >trunks/apacheds/pom.xml and placed only in the descendant poms that >really need to use it. Once done my patches will not be needed and we >will still keep a nice inheritance chain up to the root pom.xml. > > hmmm. That would be a little but ennoying. almost of apacheds descendant need this dependence. Having it spreaded to 10 to 15 subprojetcs will drive us directly to build problems if we updgrade shared-ldap jar. But this is something we can do. Now, I don't know exactly why this should become a problem when adding those osgi projects. May be th eproblem is not the dependency itself, but the project structure, and may be we should reorganize it to ease your integration? Emmanuel